session_is_registered

(PHP 4, PHP 5 < 5.4.0)
Find out whether a global variable is registered in a session
bool session_is_registered ( string $name )

Finds out whether a global variable is registered in a session.

Parameters:
name

The variable name.

Returns:

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

This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.

Notes:

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.

doc_php
2016-02-24 16:12:10
Comments
Leave a Comment

Please login to continue.