Query: session_unset
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SESSION_UNSET(3) 1 SESSION_UNSET(3) session_unset - Free all session variablesSYNOPSISvoid session_unset (void )DESCRIPTIONThe session_unset(3) function frees all session variables currently registered.RETURN VALUESNo value is returned.NOTESNote If $_SESSION (or $HTTP_SESSION_VARS for PHP 4.0.6 or less) is used, use unset(3) to unregister a session variable, i.e. unset ($_SESSION['varname']);. Caution Do NOT unset the whole $_SESSION with unset($_SESSION) as this will disable the registering of session variables through the $_SES- SION superglobal. PHP Documentation Group SESSION_UNSET(3)