Thread: Notice:
View Single Post
Old 01-09-2010, 10:38 AM   #2 (permalink)
Parvus
The Wanderer
Newcomer 
 
Parvus's Avatar
 
Join Date: Aug 2008
Posts: 21
Thanks: 1
Parvus is on a distinguished road
Default

if($_SESSION['login']=='true')

You are checking if the login session is true, but apparently there is no session with a name like that.
You could put a check before that line with: if(isset($_SESSION['login'])){}
to check if the login session exists or not.
Parvus is offline  
Reply With Quote