php man page for session_unregister

Query: session_unregister

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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
set_magic_quotes_runtime(3) - php
session_register(3) - php
sessionhandlerinterface.read(3) - php
superglobals(3) - php
Similar Topics in the Unix Linux Community
Global variable becomes local
how to remove first two latter of any string
Assigning value to a variable
Set variable with variable
Change only the name of a variable