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

From: Date: Sun, 12 Sep 2004 14:52:28 +0000
Subject: note 45600 added to function.session-set-cookie-params
Groups: php.notes 
Request: Send a blank email to php-notes+get-76531@lists.php.net to get a copy of this message
In reply to the note by (php at mike2k dot com) on (09-May-2001 03:16), I believe that the only things that should be in the SESSION cookie are: .....A/ The PHPSESSID . So, put the session expire time IN the SESSION. This way, there is nothing that can be messed with for the session by the user. ---- Manual Page -- http://www.php.net/manual/en/function.session-set-cookie-params.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+45600 Delete -- http://master.php.net/manage/user-notes.php?action=delete+45600&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+45600&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#76531) next »