September 2001
Intermediate to advanced
768 pages
32h 45m
English
int session_decode(string session_data) Decodes session data.
Returns:
TRUE on success; FALSE on error
Description:
Decodes raw session data and creates variables with the same names as those stored in the session data.
Version:
Existing since version 4.0
Example:
$file = file("/tmp/sess_9b7947ce5a02147955ad6671bfbe79ed");
// contains value for $counter
session_decode($file[0]);
echo $counter;
|
Read now
Unlock full access