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 sessionSYNOPSISbool session_unregister (string $name)DESCRIPTIONsession_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.PARAMETERSo $name - The variable name.RETURN VALUESReturns TRUE on success or FALSE on failure.NOTESNote 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_destroy(3) - php |
| sessionhandlerinterface.read(3) - php |
| session_name(3) - php |
| session_unregister(3) - php |
| unset(3) - php |
| Similar Topics in the Unix Linux Community |
|---|
| Global variable becomes local |
| passing a variable inside a variable to a function |
| how to remove first two latter of any string |
| Change only the name of a variable |
| How to assign echo in variable |