PHP Session Data Storage and Access The $_SESSION superglobal variable is used to store session variables. The session variables are stored in an associative array called $_SESSION. When the session data is present in the session, you can access it.