What PHP superglobal array holds the session variables?

  • $_SESSION
  • $_COOKIE
  • $_REQUEST
  • $_SERVER
The $_SESSION superglobal array holds the session variables in PHP. It allows you to store and access data across multiple pages or requests within the same session. The values stored in $_SESSION are specific to each individual user session and can be used to maintain user-specific data throughout the browsing session. Additional information can be found at: http://php.net/manual/en/reserved.variables.session.php
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *