$_SESSION -- $HTTP_SESSION_VARS [deprecated] — Session variables
|4.1.0||Introduced $_SESSION that deprecated $HTTP_SESSION_VARS.|
This is a 'superglobal', or automatic global, variable. This simply means that it is available in all scopes throughout a script. There is no need to do global $variable; to access it within functions or methods.
- session_start() - Start new or resume existing session