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, Ed, biapar, Willr, Ingo

how to take session data with you when you switch domains

Go to End

2 Posts   2196 Views


Forum Moderator, 224 Posts

6 December 2008 at 11:23am

Hi Gurus

Session data is bound to a domain - in our site, however, we want to switch the user from to 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



Community Member, 791 Posts

6 December 2008 at 11:41pm

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

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