SESSION_DECODE(3) 1 SESSION_DECODE(3)
session_decode - Decodes session data from a session encoded string
SYNOPSIS
bool session_decode (string $data)
DESCRIPTION
session_decode(3) decodes the serialized session data provided in $data, and populates the $_SESSION superglobal with the result.
Please note the unserialization method is not the same as unserialize(3). The serialization method is internal to PHP and can be set using
session.serialize_handler.
PARAMETERS
o $data
- The encoded data to be stored.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
SEE ALSO
session_encode(3), session.serialize_handler.
PHP Documentation Group SESSION_DECODE(3)