Home > PHP > Function > Sessions > session_encode()

session_encode()

session_encode - Encodes the current session data as a string

Syntax

string session_encode ()

Arguments

-

Description

session_encode() returns a string with the contents of the current session encoded within.

Version

PHP 4, 5

Return value

Returns the contents of the current session encoded.