Menu
hi, I got this line on top of the main page after user login:
[QUOTE]
Notice: A session had already been started – ignoring session_start() in ….. in line 119
the code from line 115 to 127 is:
[code=php]function checkValidUser()
{
session_start();
if (session_is_registered(‘valid_user’))
{
return true;
}
else {
unset($_SESSION);
session_destroy();
return false;
}
}
plz help