session_is_registered

(PHP 4 >= 4.0.0)

session_is_registered --  Find out if a variable is registered in a session

Description

bool session_is_registered ( string name)

session_is_registered() returns TRUE if there is a variable with the name name registered in the current session.

Poznßmka: If $_SESSION (or $HTTP_SESSION_VARS for PHP 4.0.6 or less) is used, use isset() to check a variable is registered in $_SESSION.

V²straha

If you are using $HTTP_SESSION_VARS/$_SESSION, do not use session_register(), session_is_registered() and session_unregister().