Hi, people. I want to register all session of my web sitie, by the way in my index web I register all user with your username and password session_start(); $_SESSION['username']=$username; session_register('username'); and the other page if the user don't enter your name and password I was redirect to the page index.php, ok?, then in these page I ask if the user was register. <?php session_start(); if (session_is_registered('username')) { ?> <html> . . . . </html> <?php } else header("Location: http://webadmin/index.php"); ?> but I have a big problem, the session_register('username'); is'nt work, because all the page web rediret to http://webadmin/index.php somebody can help me?. best regards TOMAS ------------------------------------------------------------------------- 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