note 97072 modified in function.session-set-cookie-params by danbrown
| From: | danbrown@php.net | Date: | Wed, 31 Mar 2010 16:26:51 +0000 |
| Subject: | note 97072 modified in function.session-set-cookie-params by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-167584@lists.php.net to get a copy of this message | ||
It appears that if you are setting a session cookie on https://subdomain123.example.com for .example.com that
the default of the secure cookie is not false but true.
So your cookie won't work on http://subdomainxyz.example.com unless you set the secure
option to false.
--was--
It appears that if you are setting a session cookie on https://subdomain123.yourdomain.com for
.yourdomain.com that the default of the secure cookie is not false but true.
So your cookie won't work on http://subdomainxyz.yourdomain.com unless you set the
secure option to false.
http://php.net/manual/en/function.session-set-cookie-params.php