PHP.nl

session_encode

session_encode

Encodes the current session data as a session encoded string

 **session_encode**
returns a serialized string of the

contents of the current session data stored in the $_SESSION superglobal. session_encode

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

Returns the contents of the current session encoded, return.falseforfailure.

Waarschuwing: > Must call before using . session_start``session_encode

session_decodesession.serialize_handler