note 89090 added to function.session-name

From: Date: Sat, 21 Feb 2009 07:07:47 +0000
Subject: note 89090 added to function.session-name
Groups: php.notes 
Request: Send a blank email to php-notes+get-150912@lists.php.net to get a copy of this message
Remember, kids--you MUST use session_name() first if you want to use session_set_cookie_params() to, say, change the session timeout. Otherwise it won't work, won't give any error, and nothing in the documentation (that I've seen, anyway) will explain why. Thanks to brandan of bildungsroman.com who left a note under session_set_cookie_params() explaining this or I'd probably still be throwing my hands up about it. ---- Server IP: 64.71.164.2 Probable Submitter: 66.92.17.200 ---- Manual Page -- http://www.php.net/manual/en/function.session-name.php Edit -- https://master.php.net/note/edit/89090 Del: integrated -- https://master.php.net/note/delete/89090/integrated Del: useless -- https://master.php.net/note/delete/89090/useless Del: bad code -- https://master.php.net/note/delete/89090/bad+code Del: spam -- https://master.php.net/note/delete/89090/spam Del: non-english -- https://master.php.net/note/delete/89090/non-english Del: in docs -- https://master.php.net/note/delete/89090/in+docs Del: other reasons-- https://master.php.net/note/delete/89090 Reject -- https://master.php.net/note/reject/89090 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#150912) next »