note 101208 added to function.session-set-cookie-params

From: Date: Thu, 02 Dec 2010 09:45:26 +0000
Subject: note 101208 added to function.session-set-cookie-params
Groups: php.notes 
Request: Send a blank email to php-notes+get-174554@lists.php.net to get a copy of this message
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. ---- Server IP: 195.54.192.44 Probable Submitter: 127.0.0.1 ---- Manual Page -- http://www.php.net/manual/en/function.session-set-cookie-params.php Edit -- https://master.php.net/note/edit/101208 Del: integrated -- https://master.php.net/note/delete/101208/integrated Del: useless -- https://master.php.net/note/delete/101208/useless Del: bad code -- https://master.php.net/note/delete/101208/bad+code Del: spam -- https://master.php.net/note/delete/101208/spam Del: non-english -- https://master.php.net/note/delete/101208/non-english Del: in docs -- https://master.php.net/note/delete/101208/in+docs Del: other reasons-- https://master.php.net/note/delete/101208 Reject -- https://master.php.net/note/reject/101208 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#174554) next »