Session is ALWAYS expired.
Moderator: mkoch227
Session is ALWAYS expired.
Script URL:
Version of script: the newest .93 i think
Version of PHP: 5.1
Hosting company: my computer
Have you searched THIS FORUM for your problem: YES for hours
(if not please do before posting)
If so, what terms did you try: i typed in every error that i received
Write your message below:
Ok, this is really frustrating now. I can get everything to work, but i cannot lot in. It just says, Session expired. Please use the form blow to log in.
Now, the weird thing is, it worked for the first two or three times, then it just stopped. I checked out my session directory, and it has all the sessions for every attempt. The sessions contain the name of the user, the passwords, the signature, and if not an admin, the groups allowed to browse.
My PHP file looks exactly like the author's. (found it in a post).
Version of script: the newest .93 i think
Version of PHP: 5.1
Hosting company: my computer
Have you searched THIS FORUM for your problem: YES for hours
(if not please do before posting)
If so, what terms did you try: i typed in every error that i received
Write your message below:
Ok, this is really frustrating now. I can get everything to work, but i cannot lot in. It just says, Session expired. Please use the form blow to log in.
Now, the weird thing is, it worked for the first two or three times, then it just stopped. I checked out my session directory, and it has all the sessions for every attempt. The sessions contain the name of the user, the passwords, the signature, and if not an admin, the groups allowed to browse.
My PHP file looks exactly like the author's. (found it in a post).
Hi,
There has been a lot of talking here about session problems, have you tried all the suggestions? Read the posts about blank page after login, cannot login, etc...
You can start by uploading the phpinfo file:
http://www.phpjunkyard.com/extras/phpinfo.zip
and the session test file:
http://www.phpjunkyard.com/extras/session_test.zip
People have suggested many solutions in the old posts, try them!
There has been a lot of talking here about session problems, have you tried all the suggestions? Read the posts about blank page after login, cannot login, etc...
You can start by uploading the phpinfo file:
http://www.phpjunkyard.com/extras/phpinfo.zip
and the session test file:
http://www.phpjunkyard.com/extras/session_test.zip
People have suggested many solutions in the old posts, try them!
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Are you running Windows or Linux?
Have you tried these:
viewtopic.php?t=458#2211
viewtopic.php?t=542#2241
viewtopic.php?t=303&postdays=0&postorde ... rt=15#1846
viewtopic.php?t=303&postdays=0&postorde ... rt=15#1907
viewtopic.php?t=303&postdays=0&postorde ... rt=30#2116
If you turn debug mode ON in hesk_settings.inc.php do you get any other errors?
Have you tried with PHP 4.3.x?
Have you tried these:
viewtopic.php?t=458#2211
viewtopic.php?t=542#2241
viewtopic.php?t=303&postdays=0&postorde ... rt=15#1846
viewtopic.php?t=303&postdays=0&postorde ... rt=15#1907
viewtopic.php?t=303&postdays=0&postorde ... rt=30#2116
If you turn debug mode ON in hesk_settings.inc.php do you get any other errors?
Have you tried with PHP 4.3.x?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Here is my setup:
Windows 2000 Server
IIS5
Latest Version of Hesk
Latest Version of PHP
I also tried it on PHP version 4.3.x and it didn't work there either, so i uninstalled it and install php 5.x.x.
I'll try those links now. Thanks.
Oh, when i check my session directory, all the sessions have data (they are only 0 bytes if i try to log in without a password or with a wrong password).
Windows 2000 Server
IIS5
Latest Version of Hesk
Latest Version of PHP
I also tried it on PHP version 4.3.x and it didn't work there either, so i uninstalled it and install php 5.x.x.
I'll try those links now. Thanks.
Oh, when i check my session directory, all the sessions have data (they are only 0 bytes if i try to log in without a password or with a wrong password).

The weird thing is, this:
The first time i installed it, it didn't work... i kept getting those session errors. Then i compared my phpinfo() file to yours. I noticed that trans_ssid was set to 0, i changed it to 1. Then it worked great! I was able to login, add accounts, everything. I closed my browser, ate some lunch, and when i came back, i couldnt' do anything again. same session errors. VERY WEIRD!
Questions? When does the script print the error about a session being expired? What causes this error? Is it because it can't read a session id? If that's the case, maybe there is a permissions issue on the sessions folder.
Also, what should the $hesk_settings['server_path'] be? I have it set to "". What is this actually the path to, and what is it relative to? Im running windows, so can i just put in the full path, i.e.. (C:\web\hesk)?
Also, what should the $hesk_settings['server_path'] be? I have it set to "". What is this actually the path to, and what is it relative to? Im running windows, so can i just put in the full path, i.e.. (C:\web\hesk)?
Yep, check if the session folder is writable. But if it works the first time you use it I don't see any reasons why it wouldn't work the second, third, ... time?
Yes, C:\web\hesk should work, just make sure you don't add the trailing \ after hesk folder!
Yes, C:\web\hesk should work, just make sure you don't add the trailing \ after hesk folder!
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Single quotes or double quotes, doesn't matter. That path should be ok, you should also get the correct path in install.php file.
If you are still having problems with sessions note it has nothng to do with the path of Hesk folder, but with the php or server setup.
If you are still having problems with sessions note it has nothng to do with the path of Hesk folder, but with the php or server setup.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Hi,
Since it works for hundreds of other people it is obvious something is wrng on your server. To be honest I don't know what, I am not very experiencedwhen it comes to handling servers, especially Windows ones.
All I can suggest installing PHP 4.3.x again and try again with that. Do you get any other errors with debug mode ON in hesk settings file? Do you get any erros in the PHP error log file?
Since it works for hundreds of other people it is obvious something is wrng on your server. To be honest I don't know what, I am not very experiencedwhen it comes to handling servers, especially Windows ones.
All I can suggest installing PHP 4.3.x again and try again with that. Do you get any other errors with debug mode ON in hesk settings file? Do you get any erros in the PHP error log file?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools