You have a PHP script and you need to access the session variables. How would you do this?

  • $_SESSION
  • $_REQUEST
  • $_SESSION_VARIABLES
  • $_GLOBAL
To access session variables in PHP, you can use the $_SESSION superglobal array. It allows you to store and retrieve data across multiple pages or requests within the same session. The values stored in $_SESSION are specific to each individual user session. For further information, visit: 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 *