redirect issue.

The release 1.6 is going to be unsupported by Community. Because our effort moves ahead. However there are still valuable informations for you.
Locked
jbarchibald
TestLink user
Posts: 9
Joined: Wed Nov 09, 2005 6:06 pm
Location: Salt Lake City, Utah

redirect issue.

Post by jbarchibald »

Hi all,

I am seeing that when I run in firefox 1.0.7. there are occations when I get redirected to a /lib/general/login.php.. that does not exits

I have search around, but I can\'t quite pinpoint where this is happening.
I see where the baseref is getting set in common.php..

I\'ll keep digging but thought I would pose the question anyway.

Jason
Jason B. Archibald
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

Hi Jason,

The base url is curently saved in session array. I.e. you are redirected to login, if session expired, e.g. after lunch :)

Martin
jbarchibald
TestLink user
Posts: 9
Joined: Wed Nov 09, 2005 6:06 pm
Location: Salt Lake City, Utah

Post by jbarchibald »

Yes, I see the session getting expired.

However, I get redirected to testlink/lib/general/login.php

and Not testlink/login.php

becasue the testlink/lib/general/login.php does not exist, you get a 404 error in the browser.

so, this session array is not getting the base URL correct when the session expires. this is what I\'m looking for. trying to find out why I get redirected to the wrong location.
Jason B. Archibald
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

You are right. The problem is that if config don\'t find the session after expiration, it look where is. But this is done in the script in wrong directory.

I think that we should get back constant fot the parameter (as is in 1.0.4). And move this automatic recognition to installation script. It improve performance and solve this problem.

Please could you create issue for this. Thanks.

Martin
Locked