note 101208 deleted from function.session-set-cookie-params by danbrown
| From: | danbrown@php.net | Date: | Thu, 02 Dec 2010 14:17:49 +0000 |
| Subject: | note 101208 deleted from function.session-set-cookie-params by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-174564@lists.php.net to get a copy of this message | ||
Note Submitter: grig-siren (at) rambler (dot) ru
----
Additional note to note from 'final dot wharf at gmail dot com' below.
WARNING! Default value for 'path' parameter in call of session_set_cookie_params() is not
specified in documentation and seems to be '/' (root of site). But default value for
'path' parameter in calling setcookie() is 'directory of script being executed'
and can be not a root of site. This difference can be a source of problems. So check what do you
really need and set these parameters definitely.