note 97072 added to function.session-set-cookie-params
| From: | digitalmagnets at gmail dot com | Date: | Wed, 31 Mar 2010 09:36:32 +0000 |
| Subject: | note 97072 added to function.session-set-cookie-params | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-167548@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 69.147.83.197
Probable Submitter: 94.192.127.209
----
Manual Page -- http://www.php.net/manual/en/function.session-set-cookie-params.php
Edit -- https://master.php.net/note/edit/97072
Del: integrated -- https://master.php.net/note/delete/97072/integrated
Del: useless -- https://master.php.net/note/delete/97072/useless
Del: bad code -- https://master.php.net/note/delete/97072/bad+code
Del: spam -- https://master.php.net/note/delete/97072/spam
Del: non-english -- https://master.php.net/note/delete/97072/non-english
Del: in docs -- https://master.php.net/note/delete/97072/in+docs
Del: other reasons-- https://master.php.net/note/delete/97072
Reject -- https://master.php.net/note/reject/97072
Search -- https://master.php.net/manage/user-notes.php