Query: session_encode
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SESSION_ENCODE(3) 1 SESSION_ENCODE(3) session_encode - Encodes the current session data as a session encoded stringSYNOPSISstring session_encode (void )DESCRIPTIONsession_encode(3) returns a serialized string of the contents of the current session data stored in the $_SESSION superglobal. Please note, the serialization method is not the same as serialize(3). The serialization method is internal to PHP and can be set using session.serialize_handler.RETURN VALUESReturns the contents of the current session encoded.NOTESWarning Must call session_start(3) before using session_encode(3).SEE ALSOsession_decode(3), session.serialize_handler. PHP Documentation Group SESSION_ENCODE(3)