Re: Common session for all subdomains?
| From: | Ravi Gehlot | Date: | Tue, 21 Dec 2010 18:16:25 +0000 |
| Subject: | Re: Common session for all subdomains? | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-310202@lists.php.net to get a copy of this message | ||
Daniel,
Good info.
Ravi.
On Tue, Dec 21, 2010 at 10:23 AM, Daniel Brown <danbrown@php.net> wrote:
> On Tue, Dec 21, 2010 at 02:27, Ravi Gehlot <ravi@ravigehlot.net> wrote:
> > That's a good question.
> >
> > There should be a setting on php.ini to allow cross session.
>
> Right. Because who needs to teach folks about computer security
> when we can just disable it for them anyway?
>
> Like Jonathan pointed out, it's a matter of adjusting the cookie
> parameters to match wildcard subdomains by preceding the part of the
> domain (usually the SLD, but some ccTLD or FQDN situations can be
> different) with a dot, like so: .example.com
>
> --
> </Daniel P. Brown>
> Network Infrastructure Manager
> Documentation, Webmaster Teams
> http://www.php.net/
>