Session......

From: Date: Fri, 27 Sep 2002 19:11:44 +0000
Subject: Session......
Groups: php.db 
Request: Send a blank email to php-db+get-22053@lists.php.net to get a copy of this message
Hi again people..... i´m including the code below in every page in my site, ////////////////// <?php session_start(); if(empty($_SESSION['username'])) { die('Ocorreu um erro. Você pode não ter se logado, ou sua sessão expirou. Tente se <a href="login.php"><b>logar</b></a> novamente ou entre em contato com o <a href="mailto:rodrigo@praticsistemas.com.br"><b>webmaster</b>.</a>'); } ?> /////////////////// in one page i used: session_register($repcod); but i can see this VAR only in the next page, when i link to a third one i cannot see the VAR, does anyone know why???? Thanks a lot people..... -------------------------------------------------------------------------------- Equipe Pratic Sistemas Rodrigo Corrêa Fone: (14) 441-1700 suporte@praticsistemas.com.br rodrigo@praticsistemas.com.br

« previous php.db (#22053) next »