I set the cookie domain so that every subdomain using the server uses the same cookie.
session cookie domain = .domain.com I can get away with this since every site is under the same domain. -- Will From: Aparajita Fishman <[email protected]> Reply-To: Active4D Developer Discussion List <[email protected]> Date: Wed, 13 Jul 2011 03:59:08 -0400 To: <[email protected]> Subject: Re: [Active4d-dev] Single login for multiple domains >> I need to allow a user to log into either of two sites with different >> subdomains and have that single login work on both. In the ideal world, they >> would share a session. Both are running off the same db. > > If they are both running on the same server, then it is possible. By default > session ids are stored in a cookie, which are unique to a domain. But you can > also put a session id in the url as a query parameter (or form variable for > posts), and Active4D will automatically read it from there. > > Regards, > > Aparajita > www.aparajitaworld.com > > "If you dare to fail, you are bound to succeed." > - Sri Chinmoy | www.srichinmoy.org > > _______________________________________________ > Active4D-dev mailing list > [email protected] > http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev > Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/ > _______________________________________________ Active4D-dev mailing list [email protected] http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
