Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

how to take session data with you when you switch domains


Reply

2 Posts   1858 Views

Avatar
Nicolaas

6 December 2008 at 11:23am Forum Moderator, 213 Posts

Hi Gurus

Session data is bound to a domain - in our site, however, we want to switch the user from http://secure.mysite.com to http://nonsecure.mysite.com without loosing the session data. The sites are the same, but everytime we switch the session data is lost. Is there an easy way to save it in the database, retrieve it or get the session ID?

Thanks a million

Nicolaas

Avatar
Fuzz10

6 December 2008 at 11:41pm Community Member, 787 Posts

Make sure the client cookies are being set for the / domain instead of the xxxx.mysite.com subdomain and it'll probably work.

Check the current cookies settings with the Firefox developer toolbar or firebug...