(PHP 4, PHP 5)
session_encode() returns a string with the contents of the current session encoded within.
See also session_decode()