session
| From: | Brendon | Date: | Mon, 12 Nov 2001 12:21:38 +0000 |
| Subject: | session | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-74270@lists.php.net to get a copy of this message | ||
I am using PHP 4.06, IE 6 and Win 2000.
When i register a session like so:
session_start();
session_register("SESSION_UserID");
and on the next page refer to the session:
session_start();
if(!session_is_registered("SESSION_UserID"))
{
header("Location: error.php?ec=1");
exit;
}
?>
It registers a new session:
I then have a session as so in the sessons directory:
SESSION_UserID|s:1:"1";SESSION_UPERMS|s:1:"1";
and a blank new one.
any ideas?