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 = "<FONT SIZE=-1 COLOR=red>Session Terminated</FONT>";
   break;


What is happening, is after the user authenticates and logs in, everything looks good, 
but whenever the user follows any link, the session gets unset and destroyed. I know 
that the variable that holds the logout value isn't even present, so I'm not sure how 
it's getting called...  has anyone experienced this before?  How did you get around it?

Thanks!

Jason

Reply via email to