Re: Re: registering session with user and password
| From: | Tomás Rodriguez Orta | Date: | Wed, 06 Apr 2005 01:27:27 +0000 |
| Subject: | Re: Re: registering session with user and password | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-212314@lists.php.net to get a copy of this message | ||
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" <jason.barnett@telesuite.com>
To: <php-general@lists.php.net>
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.