Re: Re: registering session with user and password

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx>
To: <php-general@xxxxxxxxxxxxx>
Sent: Tuesday, April 05, 2005 2:58 PM
Subject:  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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux