Re: Common session for all subdomains?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxx> 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
> >
> >
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux