session_unregister(3) php man page | unix.com

Man Page: session_unregister

Operating Environment: php

Section: 3

SESSION_UNREGISTER(3)							 1						     SESSION_UNREGISTER(3)

session_unregister - Unregister a global variable from the current session

SYNOPSIS
bool session_unregister (string $name)
DESCRIPTION
session_unregister(3) unregisters the global variable named $name from the current session. Warning This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.
PARAMETERS
o $name - The variable name.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
NOTES
Note If $_SESSION (or $HTTP_SESSION_VARS for PHP 4.0.6 or less) is used, use unset(3) to unregister a session variable. Do not unset(3)$_SESSION itself as this will disable the special function of the $_SESSION superglobal. Caution This function does not unset the corresponding global variable for $name, it only prevents the variable from being saved as part of the session. You must call unset(3) to remove the corresponding global variable. Caution If you are using $_SESSION (or $HTTP_SESSION_VARS), do not use session_register(3), session_is_registered(3) and session_unregis- ter(3). PHP Documentation Group SESSION_UNREGISTER(3)
Related Man Pages
session_regenerate_id(3) - php
session_start(3) - php
superglobals(3) - php
session_set_save_handler(3) - php
session_unregister(3) - php
Similar Topics in the Unix Linux Community
how to remove first two latter of any string
Not sure why not working
Set variable with variable
Time delay problem in asking password
Local variable in functions (gawk)