I am trying to read a session file from the /tmp directory then restore the PHP variables from this but I can't get it to work, i'm doing the following:
$acontents = file("/tmp/sess_$sessid");
$data = $acontents[0];
unserialize($data);
$sessid is a valid session id, but unserialize doesn't give me
the values for $hostname, $username, etc?
Any help?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

