note 68857 added to function.session-encode
| From: | MartinNorland at osu1 dot php dot net | Date: | Sun, 13 Aug 2006 18:59:10 +0000 |
| Subject: | note 68857 added to function.session-encode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-115867@lists.php.net to get a copy of this message | ||
or, to save yourself a whole heap of trouble... to see the session superglobal in a simple format...
<?php
print('<pre>');
print_r($_SESSION);
print('</pre>');
?>
session_encode / session_decode are serializing and deserializing the data, the 's' meant
string, 'b' boolean, 'i' int - etc. - it's not meant to have its parsing
reimplemented, it's there for storing it in a single glob.
----
Server IP: 64.71.164.2
Probable Submitter: 24.199.159.209
----
X-Spam-Status: No, hits=3.3 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER,
HTML_MESSAGE autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.session-encode.php
Edit -- https://master.php.net/note/edit/68857
Del: integrated -- https://master.php.net/note/delete/68857/integrated
Del: useless -- https://master.php.net/note/delete/68857/useless
Del: bad code -- https://master.php.net/note/delete/68857/bad+code
Del: spam -- https://master.php.net/note/delete/68857/spam
Del: non-english -- https://master.php.net/note/delete/68857/non-english
Del: in docs -- https://master.php.net/note/delete/68857/in+docs
Del: other reasons-- https://master.php.net/note/delete/68857
Reject -- https://master.php.net/note/reject/68857
Search -- https://master.php.net/manage/user-notes.php