homepage Welcome to WebmasterWorld Guest from 54.227.214.74
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
Forum Library, Charter, Moderators: phranque

Website Technology Issues Forum

    
Issue with website redirection
nil111

5+ Year Member



 
Msg#: 4042600 posted 5:13 am on Dec 14, 2009 (gmt 0)

The website uses PHP to handle sessions. It works well but with certain servers it gives the following error-

when you type [site-name.com...] and login and then go to [site-name.com...] the session is lost.

As in the session variables set during signing in to the 1st uri is lost wen one navigates to the other and vise versa.

I'm wondering how to fix this. I can assure there's nothing wrong with the code.

Thanks in advance!

 

AnkitMaheshwari

5+ Year Member



 
Msg#: 4042600 posted 7:05 am on Dec 14, 2009 (gmt 0)

Just implement the canonical redirect to 301 redirect [site-name.com...] to [site-name.com...] or vice versa. I believe this should solve the problem.

nil111

5+ Year Member



 
Msg#: 4042600 posted 7:43 am on Dec 14, 2009 (gmt 0)

will try that out and post how things go. thanks!

nil111

5+ Year Member



 
Msg#: 4042600 posted 9:09 am on Dec 14, 2009 (gmt 0)

thanks it worked :)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved