Re: Common session for all subdomains?
| From: | Ravi Gehlot | Date: | Tue, 21 Dec 2010 07:27:20 +0000 |
| Subject: | Re: Common session for all subdomains? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-310175@lists.php.net to get a copy of this message | ||
That's a good question.
There should be a setting on php.ini to allow cross session.
Ravi.
On Mon, Dec 20, 2010 at 7:05 PM, Jonathan Tapicer <tapicer@gmail.com> wrote:
> 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 á²3mœîN
> > ÉÀ�2±µ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
> >
> >
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>