note 45083 added to function.session-start

From: Date: Wed, 25 Aug 2004 19:46:34 +0000
Subject: note 45083 added to function.session-start
Groups: php.notes 
Request: Send a blank email to php-notes+get-75251@lists.php.net to get a copy of this message
a note to aleczapka _at) gmx dot net "workaround" <?php if (!session_id("mysession")) session_start(); ?> DO NOT use that, every visitor will use the very same session file, id'd "mysession" i experienced the same problem: IE6 losing the session_id on a linux apache, but not losing it on a windows apache, same website. i read a lot about p3p headers and other workarounds... i tried everything, but ultimativly, i had to change the php.ini to session.use_trans_sid=1 to get the session id from $_REQUEST. securitywise not the very best solution, but the only working one ---- Manual Page -- http://www.php.net/manual/en/function.session-start.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+45083 Delete -- http://master.php.net/manage/user-notes.php?action=delete+45083&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+45083&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#75251) next »