Page 1 of 1
Using a session between two domains
Posted: Thu Mar 31, 2005 4:52 pm
by bdeonline
I'm needing to know how to have a session variable be transfered from one domain to another domain. I tried looking at session_set_cookie_params but can't get it to work right. Any ideas.
Posted: Thu Mar 31, 2005 5:06 pm
by feyd
do the domains share a database? if so, you can store the session information in the database. Otherwise, there's pretty much nothing you can transfer without letting the user have it, which is dangerous, as you may know.
Posted: Fri Apr 01, 2005 1:51 am
by Maugrim_The_Reaper
ADODB offers some database backed session functionality. As above, assuming both domains can access a single database, it would be worth a look.