Re: Common session for all subdomains?
| From: | Daniel Brown | Date: | Tue, 21 Dec 2010 15:23:20 +0000 |
| Subject: | Re: Common session for all subdomains? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-310192@lists.php.net to get a copy of this message | ||
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/