PHP alternative to session_is_registered

“You need to set and reference $_SESSION variables only.” For example:

if( isset($_SESSION[$myusername]) )

From http://www.phpfreaks.com/forums/index.php?topic=263189.0

Leave a Comment