Sessions are now being registered, but I have a problem unregistering them.
This is the code that I'm using to test it:

--------kill.php--------
session_start();
print("ID = ".$_SESSION['id']); //The value is printed
print("PERMISOS = ".$_SESSION['permisos']); //The value is printed
unset($_SESSION['id']);
unset($_SESSION['permisos']);
print("ID = ".$_SESSION['id']); //The value is NOT printed
print("PERMISOS = ".$_SESSION['permisos']); //The value is NOT  printed
-------kill.php---------

If the page is reloaded, the result is exactly the same.

But if I keep reloading the page $_SESSION['id'] and $_SESSION['permisos']
have the same value. Is there any other way to unregister session variables
???

Thank you very much.
_____________________
Mauricio Cuenca


----- Original Message -----
From: "Daniel Guerrier" <[EMAIL PROTECTED]>
To: "Mauricio Cuenca" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, September 06, 2002 2:11 PM
Subject: Re: [PHP] Sessions with register_globals = off


> Here you go
>
> http://www.zend.com/manual/function.session-is-registered.php



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

Reply via email to