Jacky wrote:
> 
> Hi all
> I wen tto check manual, not quite get it though. I have set up session and I want 
>that deleted, but it did not work so far with session_unset or session_unregister.
> I figure I may have used them incorrectly
> here is what i did
> 
> <?php
> session_start();
> global $name;
> $name = "foo";
> session_register("name");
> .......
> 
> session_unregister("name");
> ?>
> 
> It appears to me that the value is still there all the time, unles I close the 
>browser. what did I do wrong??
> Jack
> [EMAIL PROTECTED]
> "There is nothing more rewarding than reaching the goal you set for yourself"

If you want to delete the complete session.... session_destroy.

http://www.php.net/manual/en/function.session-destroy.php
-- 

* R&zE:

***************************
**  Renze Munnik
**
**  E: [EMAIL PROTECTED]
**  M: +31 6 218 111 43
***************************

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to