php man page for session_encode

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 string

SYNOPSIS
string session_encode (void )
DESCRIPTION
session_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 VALUES
Returns the contents of the current session encoded.
NOTES
Warning Must call session_start(3) before using session_encode(3).
SEE ALSO
session_decode(3), session.serialize_handler. PHP Documentation Group SESSION_ENCODE(3)
Related Man Pages
session_regenerate_id(3) - php
session_start(3) - php
sessionhandlerinterface.read(3) - php
serialize(3) - php
session_cache_expire(3) - php
Similar Topics in the Unix Linux Community
Rules for Homework & Coursework Questions Forum
Status of UNIX.COM Forum Transformation
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun