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

From: Date: Wed, 28 May 2008 03:55:46 +0000
Subject: note 83484 added to function.session-set-cookie-params
Groups: php.notes 
Request: Send a blank email to php-notes+get-139908@lists.php.net to get a copy of this message
i found it somewhat difficult to work with sessions due to the documentation not really denoting the necessity for the session name to be set via session_name() in order for session_set_cookie_params() to be of any use. i found no reference to session_name() in this article, and my session functions would have been a disastrous mess were it not for a friend familiar with session. so, in essence, for anybody wondering about where to start: declare a session name before using session_set_cookie_params(), otherwise you might agitate php to the point of committing some atrocity against your webserver. ---- Server IP: 69.147.83.197 Probable Submitter: 72.202.206.158 ---- Manual Page -- http://www.php.net/manual/en/function.session-set-cookie-params.php Edit -- https://master.php.net/note/edit/83484 Del: integrated -- https://master.php.net/note/delete/83484/integrated Del: useless -- https://master.php.net/note/delete/83484/useless Del: bad code -- https://master.php.net/note/delete/83484/bad+code Del: spam -- https://master.php.net/note/delete/83484/spam Del: non-english -- https://master.php.net/note/delete/83484/non-english Del: in docs -- https://master.php.net/note/delete/83484/in+docs Del: other reasons-- https://master.php.net/note/delete/83484 Reject -- https://master.php.net/note/reject/83484 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#139908) next »