note 68857 deleted from function.session-encode by nlopess
| From: | nlopess@php.net | Date: | Sun, 13 Aug 2006 19:08:08 +0000 |
| Subject: | note 68857 deleted from function.session-encode by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-115869@lists.php.net to get a copy of this message | ||
Note Submitter: Martin Norland
Reason: useless
----
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.