PHP.nl

session_decode

session_decode

Decodes session data from a session encoded string

bool **session_decode** string $data
decodes the serialized session data provided in

, and populates the $_SESSION superglobal with the result. session_decode``$data

By default, the unserialization method used is internal to PHP, and is not the same as . The serialization method can be set using . unserializesession.serialize_handler

dataThe encoded data to be stored.

return.success

session_encodesession.serialize_handler