Page 1 of 1

Your session has expired, please login using the form below.

Posted: Thu Nov 20, 2008 12:45 pm
by jwp_jfo
Script URL: https://intra.reitoria.ul.pt/pedidos_dom (it's in a private network!)
Version of script: hesk0941
Hosting company: Universidade de Lisboa
URL of phpinfo.php: http://webserver02.nic.ul.pt/phpinfo.zip
URL of session_test.php: http://webserver02.nic.ul.pt/sessiontest.zip
What terms did you try when SEARCHING for a solution: "Your session has expired"

Write your message below:

I've read the readme.html, searched Google and this forum and followed the hints I've found, session tests turned out OK, the suggested code changes doesn't seem to apply to this code version.

I'm unable to go around this message "Your session has expired, please login using the form below."

Thanks,
Jhonny

Posted: Thu Nov 20, 2008 7:30 pm
by Klemen
Probably problems with sessions. Extract session_test.php and phpinfo.php files form the Zip before uploading them (so you upload the php files and not Zip archive) so we can have a look!

Posted: Fri Nov 21, 2008 6:32 pm
by jwp_jfo

Posted: Fri Nov 21, 2008 7:10 pm
by Klemen
The problem is you have session.auto_start activated. Try editing file common.inc.php (inside inc folder), change

Code: Select all

session_name('HESK');
to

Code: Select all

ini_set('session.auto_start',0);session_name('HESK');
Also you have a VERY old version of PHP installed I would recommend that you (or your server admin) upgrades PHP to the latest PHP 4 or 5 version.

Posted: Fri Nov 21, 2008 10:26 pm
by jwp_jfo
Hi!

I've donne as you told:

function hesk_session_start() {
// by JWP, Klemen suggestion session_name('HESK');
ini_set('session.auto_start',0);session_name('HESK');

It didn't work.

As for the PHP version, it is the latest that comes with RHEL 3 distribution :(

I've tested this version at home with the latest XAMMP, it works fine.