ok thanks I test an solution an working
in the page login.php i do the following
$user=$username;
session_register("user");
and the all pages I do this.
if (isset($_SESSION['user'])) {
.....
}
else
header("Location:http://webadmin/index.php")
and that all ok, before I asked by the
if (!session_is_registered('user')) and isn't working, why?
what is the differnece between isset($_session['use']) and
session_is_registered('user') ?????
somebody can Help me?
thanks regards TOMAS
----- Original Message -----
From: "Jason Barnett" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, April 05, 2005 2:58 PM
Subject: [PHP] Re: registering session with user and password
-------------------------------------------------------------------------
Este correo fue escaneado en busca de virus con el MDaemon Antivirus 2.27
en el dominio de correo angerona.cult.cu y no se encontro ninguna coincidencia.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php