Hi,
I have a problem with destroing a session.
I have made a login page and the login work ok.
I register the things i want like that:
?
session_register(uid); $uid= mysql_result($result,0,'userid');
session_register(pwd); $pwd= mysql_result($result,0,'password');
session_register(name); $name=
I have the code:
?include(con.php);
session_start();
require_once(func1.php);
if (lExistUser($cusr, $cpass)==false)
{
if (session_id() )
{session_destroy();}
}
When the page loads the first time I receive error:
Warning: Session object destruction failed in main.php on line 9
but when I
2 matches
Mail list logo