Thanks for the reply Kirk!
> > case logout:
> >session_unset();
> >session_destroy();
> >$AuthErr = "Session Terminated";
> >break;
> >
> >
> > What is happening, is after the user authenticates and logs
> > in, everything
> > looks good, but whenever the user follows any link, t
Several comments, Jason.
> session_destroy() terminates the session, which cannot be
> started up again
> until the browser is restarted...
Yes, session_destroy removes the session file that stores the values of
session variables between pages. Once gone, it cannot be accessed again
under any
-
From: "Jason Bell" <[EMAIL PROTECTED]>
To: "PHP Users" <[EMAIL PROTECTED]>
Sent: Thursday, September 13, 2001 3:12 PM
Subject: [PHP] session_unset & session_destroy being called outside of
logic.
Hello all! I am switching a variable to check if a user
Hello all! I am switching a variable to check if a user is logging in or logging
out. If the value of the variable is logout, I want the user to logout, i.e:
case logout:
session_unset();
session_destroy();
$AuthErr = "Session Terminated";
break;
What is happening, is after the u
4 matches
Mail list logo