note 84852 added to reserved.variables.session

From: Date: Fri, 01 Aug 2008 23:16:06 +0000
Subject: note 84852 added to reserved.variables.session
Groups: php.notes 
Request: Send a blank email to php-notes+get-143034@lists.php.net to get a copy of this message
You may have trouble if you use '|' in the key: $_SESSION["foo|bar"] = "fuzzy"; This does not work for me. I think it's because the serialisation of session object is using this char so the server reset your session when it cannot read it. To make it work I replaced '|' by '_'. ---- Server IP: 217.174.223.124 Probable Submitter: 88.163.124.210 ---- Manual Page -- http://www.php.net/manual/en/reserved.variables.session.php Edit -- https://master.php.net/note/edit/84852 Del: integrated -- https://master.php.net/note/delete/84852/integrated Del: useless -- https://master.php.net/note/delete/84852/useless Del: bad code -- https://master.php.net/note/delete/84852/bad+code Del: spam -- https://master.php.net/note/delete/84852/spam Del: non-english -- https://master.php.net/note/delete/84852/non-english Del: in docs -- https://master.php.net/note/delete/84852/in+docs Del: other reasons-- https://master.php.net/note/delete/84852 Reject -- https://master.php.net/note/reject/84852 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#143034) next »