unsset($_SESSION['choice']);
// .. or .. //
session_unregister('choice');

-Kevin

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 08, 2002 11:54 AM
Subject: [PHP] UNSETing Session Variables


> I am having a slight problem unseting some session variable.
>
> here is an exaple of what I have
>
> Page1:
> choice: 1
> choice: 2
> choice: 3
> choice: 4
> Click on Submit button after choosing 1, 2, 3, or 4
>
> Page 2:
> Loads information from previoius choice.
> Start over again
>
> I am using a session variable for choice and am trying at the beginning of
> page 1 to unset the session variable, but it is never beign over written
> or rest.
>
> Please Help
>
> Jed


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to