Re: [PHP] Removing/unsetting session variables.

2003-12-24 Thread CPT John W. Holmes
From: "Alain Williams" <[EMAIL PROTECTED]> > I have several variables that I set in a session - to record that a user is logged in. > I want to be able to unset them - when they log out. > > $_SESSION['PERMS_USER'] = 'fred'; > Sets the variable quite nicely, I can also change it and the change is

[PHP] Removing/unsetting session variables.

2003-12-24 Thread Alain Williams
I have several variables that I set in a session - to record that a user is logged in. I want to be able to unset them - when they log out. $_SESSION['PERMS_USER'] = 'fred'; Sets the variable quite nicely, I can also change it and the change is recorded. I cannot unset it. I have tried (in