PHP alternative to session_is_registered
Posted
by Mauro74
on Stack Overflow
See other posts from Stack Overflow
or by Mauro74
Published on 2010-04-08T14:51:51Z
Indexed on
2010/04/08
14:53 UTC
Read the original article
Hit count: 1177
Hi all, does anyone knows the alternative to the deprecated function session_is_registered in PHP5?
here's my code:
ob_start();
session_start();
if(!session_is_registered(myusername))
{
header("location:main_login.php");
}
ob_flush();
Thanks,
Mauro
© Stack Overflow or respective owner