[PHP] Re: Session again !!!

2004-09-05 Thread Torsten Roehr
"Dre" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I added print_r($_SESSION); after the session start(); > and the printed text was > > Array( ) Which means that your session value is NOT set. Your if/else should look like this: if (!isset($_SESSION['uname'])) { header('Loc

[PHP] Re: Session again !!!

2004-09-05 Thread Dre
I added print_r($_SESSION); after the session start(); and the printed text was Array( ) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Session again !!!

2004-09-05 Thread Dre
the code I use is //= ... other html code //= there are no extra spaces between the equal signs, and it does not give any errors, it just acts like if I'm not logged in is there any settings in the php.ini that m