Page 1 of 1

session expired inmediatelly on TestLink 1.8

Posted: Wed Jun 10, 2009 5:46 pm
by buttonpol
Hi, we were using TestLink 1.8 till today morning, but suddenly we all can't login. We are receiving "Your session has expired! Please login again". We have tried in IE & Firefox and in several pc's. We can see into logs the username and password was validated, but we cannot login.

All posts I've found are not applying to this behavior.
We don't have knowledge about any change in our servers configuration, but maybe there is somethig we can check.

TestLink is working on Fedora and was working well till today.
Any idea?

Thanks a lot.

Pol

the solution

Posted: Mon Jun 15, 2009 7:28 pm
by buttonpol
Hi, we could solve this problem.

One of our file system was full, so it seems TL couldn't continue with something.

It was a simple thing we had hadn't in mind.

I hope it help others in a similar situation.
Regards

Posted: Tue Mar 23, 2010 9:50 am
by Christophe
I have updated from 1.7.5 to 1.8.5 and I have a strange behaviour:

With Firefox I am able to login without problems and with IE I get the same error message "Your session has expired! Please login again".

How did you managed to solve your problem?
Thanks for your reply

suggestion

Posted: Tue Mar 23, 2010 11:33 am
by buttonpol
I think you must check your IE configuration (maybe cookies policy) and also try in other computer, because if you can login in Firefox it seems to be a config problem.

hope this help.

Posted: Tue Mar 23, 2010 11:57 am
by Christophe
Thank you very much for your quick reply.

I have just tried to change cookies configuration and I still have the same problem.

And from an other PC it is still the same.

With the previous version 1.7.5 I had it was working fine with both browsers.

If you have any other idea, I wil try as well.
Thank you very much

Posted: Tue Mar 23, 2010 12:02 pm
by buttonpol
well, no more ideas. see in your apache logs for any error message, maybe there's something.

good luck

Posted: Tue Mar 23, 2010 12:11 pm
by Christophe
In fact when I am logged in with Firefox, I can see in the Testlink logs that I was successfully logged in when I tried to access through IE.

Thanks a lot

Posted: Wed Mar 24, 2010 12:23 pm
by Christophe
In Internet explorer, sessions do not work if the name of the server contains an underscore. For example...if your server is called web_server, if you call a page which uses sessions like http://web_server/example.php your sessions won't work but sessions will work if you call the script like this [IP NUMBER]/example.php

Re: session expired inmediatelly on TestLink 1.8

Posted: Mon Sep 20, 2010 12:20 pm
by skliarie
I see some weird behavior in testlink_1_9_beta6:
on my firefox 3.6.10 on Linux the sessions management works properly. On the same version of firefox on windows I always see the "Your session has expired! Please login again." and I can't login even with proper credentials.
Both Linux and Windows have proper timezone set.

Re: session expired inmediatelly on TestLink 1.8

Posted: Tue Sep 21, 2010 10:56 am
by skliarie
Found the problem - I had accidentally put additional ENTER at the end of custom_config.inc.php file. I discovered the problem only when I saw this

session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /var/www/atp.mycompany.com/testlink/testlink_1_9_beta6/custom_config.inc.php:7) - in /var/www/atp.mycompany.com/testlink/testlink_1_9_beta6/login.php - Line 166

made me wonder why didn't testlink warned me about the problem...