Re: Common session for all subdomains?

From: Date: Tue, 21 Dec 2010 00:05:27 +0000
Subject: Re: Common session for all subdomains?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-310168@lists.php.net to get a copy of this message
Hi! You should use the function session_set_cookie_params to set the session cookie domain to ".oire.org" like this comment explains: php.net/manual/en/function.session-set-cookie-params.php#94961 Regards, Jonathan On Mon, Dec 20, 2010 at 7:18 PM, Andre Polykanine <andre@oire.org> wrote: > Hello php-general, > I've got a question: I have a site http://oire.org/. Then > we started > developing some applications at http://apps.oire.org/. > How can I manage it in the way so the session valid at > http://oire.org/ would be also valid at > http://apps.oire.org/? > Thanks! > -- > With best regards from Ukraine, > Andre > Skype: Francophile > Twitter: http://twitter.com/m_elensule > Facebook: http://facebook.com/menelion > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#310168) next »