note 42945 added to function.session-decode
| From: | sco at postmaster dot co dot uk | Date: | Fri, 04 Jun 2004 11:52:02 +0000 |
| Subject: | note 42945 added to function.session-decode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-70468@lists.php.net to get a copy of this message | ||
If you're trying to access your session data from outside the regular php session functions,
you might want to use WDDX as your serializer, as opposed to the normal php serializer. When your
data is serialized as XML, obviously it's easy to unserialize as you please.
WDDX seems to be a little slower, and the text string it creates is much bigger than that created by
the normal php serializer, but it provides the functionality with minimal hassle.
Donal
----
Manual Page -- http://www.php.net/manual/en/function.session-decode.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+42945
Delete -- http://master.php.net/manage/user-notes.php?action=delete+42945&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+42945&report=yes
Search -- http://master.php.net/manage/user-notes.php