Hello,
I'm using TestLink 1.8.5 and MantisBT 1.1.8 running on the same machine (wampserver 2.0).
I have the following problem: I login into TestLink using Firefox, then open another tab in Firefox and login into Mantis. Then I click Logout in Mantis and close the Mantis tab in Firefox. If I click any button now in TestLink, a screen is presented, asking me to login in TestLink again, because my session was timeout.
This is really annoying, because sometimes I'm editing a testcase in TestLink, meanwhile check in Mantis and close Mantis, and when I try to save my changes of the testcase in TestLink, I get this timeout and all my changes are lost.
I guess it is a problem with PHP and/or my PHP configuration. But I did not found any solution searching the internet. Anyone knows what to do?
Thanks in advance!
Best regards
Karl
TestLink and Mantis Login Logout problem (FIXED)
Moderators: Amaradana, TurboPT, TL Developers
-
- Advanced user
- Posts: 17
- Joined: Thu Apr 02, 2009 9:56 am
Re: TestLink and Mantis Login Logout problem
tabs are a pain.
Try configuring your browser to use private browsing (look for info on net)
Try configuring your browser to use private browsing (look for info on net)
-
- Advanced user
- Posts: 17
- Joined: Thu Apr 02, 2009 9:56 am
Re: TestLink and Mantis Login Logout problem
This does not really solve my probleme, because not everybody in my company uses Firefox, some are using Internet Explorer, too. So I really need to find out, what's the probleme here. Any ideas?
Re: TestLink and Mantis Login Logout problem
I think also IE 8 support private browsing.
Re: TestLink and Mantis Login Logout problem
I have the same problem, I try to fix it since one week and I found any solution
Re: TestLink and Mantis Login Logout problem
I have the same problem, too.
Private browsing (Firefox, IE8) seems to be no solution. With activated private browsing I have still the logout problem.
And I have tried to changed some Mantis configurations ($g_session_save_path, etc.) but without any result.
Any other solution??
Private browsing (Firefox, IE8) seems to be no solution. With activated private browsing I have still the logout problem.
And I have tried to changed some Mantis configurations ($g_session_save_path, etc.) but without any result.
Any other solution??
Re: TestLink and Mantis Login Logout problem
Here is a solution:
Set the parameter '$g_cookie_path' in Mantis configuration to your Mantis path on your server (more info: http://www.php.net/manual/en/function.setcookie.php).
e.g. $g_cookie_path = '/mantis/';
Background:
Mantis and TestLink use both the browser cookie for the php session named 'PHPSESSID' (standard php configuration). If Mantis and TestLink are installed on the same server, (e.g. localhost for testing), the same cookie is used. And every time a user logs out in Mantis, this PHPSESSID cookie is renewed. So for TestLink also the session is ended at this moment.
With the solution above the php session cookie of Mantis is only available for Mantis and does not interrupt the TestLink session.
I am not a php expert, but this seems to be the problem and the cookie-path soloution works well in my Mantis and TestLink environment.
Micha
Set the parameter '$g_cookie_path' in Mantis configuration to your Mantis path on your server (more info: http://www.php.net/manual/en/function.setcookie.php).
e.g. $g_cookie_path = '/mantis/';
Background:
Mantis and TestLink use both the browser cookie for the php session named 'PHPSESSID' (standard php configuration). If Mantis and TestLink are installed on the same server, (e.g. localhost for testing), the same cookie is used. And every time a user logs out in Mantis, this PHPSESSID cookie is renewed. So for TestLink also the session is ended at this moment.
With the solution above the php session cookie of Mantis is only available for Mantis and does not interrupt the TestLink session.
I am not a php expert, but this seems to be the problem and the cookie-path soloution works well in my Mantis and TestLink environment.
Micha
Re: TestLink and Mantis Login Logout problem
It works !
thanks a lot
thanks a lot
-
- Advanced user
- Posts: 17
- Joined: Thu Apr 02, 2009 9:56 am
Re: TestLink and Mantis Login Logout problem (FIXED)
Works for me, too.
Thank you very much!

Thank you very much!