Jump to content

Archived

This topic is now archived and is closed to further replies.

icon

problem with sessions

Recommended Posts

hi


i am having a bit of a problem with sessions, if i have the protected page has [a href=\"http://www.domain.com/web/protectedpage.php\" target=\"_blank\"]http://www.domain.com/web/protectedpage.php[/a] it goes [a href=\"http://www.domain.com/web/security/members/?sec=login\" target=\"_blank\"]http://www.domain.com/web/security/members/?sec=login[/a] if session username aint there,once logged in it show welcome username etc which is great.


but ........

if the prottected page is [a href=\"http://www.domain.com/support/members/\" target=\"_blank\"]http://www.domain.com/support/members/[/a] and it goes to [a href=\"http://go.domain.com/web/security/members/?sec=login\" target=\"_blank\"]http://go.domain.com/web/security/members/?sec=login[/a] once i submit the form it goes back to the index page but still say welcome guest instead of welcome username etc and when i access the protected page again to goes back to the login page

any ideas why this might be happening

thanks

Share this post


Link to post
Share on other sites
Have you made sure you posted those url's correctly?

The second scenario has you going to a subdomain (go.domain.com) if that is the case then perhaps the server will not allow session cookies to traverse domains/subdomains.

Share this post


Link to post
Share on other sites
[!--quoteo(post=364247:date=Apr 12 2006, 08:06 PM:name=ToonMariner)--][div class=\'quotetop\']QUOTE(ToonMariner @ Apr 12 2006, 08:06 PM) [snapback]364247[/snapback][/div][div class=\'quotemain\'][!--quotec--]
Have you made sure you posted those url's correctly?

The second scenario has you going to a subdomain (go.domain.com) if that is the case then perhaps the server will not allow session cookies to traverse domains/subdomains.
[/quote]


the url are posted correctly,is there any way of solving this problem

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.