Question: How are session variables accessed?
A
B
C
D
E
Through $_GET
B
Through $_POS
C
Through $_REQUEST
D
Through global variables
E
None
Note: Although session data can be accessed using the global variables if the register_globals INI setting is turned on, the exam uses a version of PHP configured using the default php.ini file found in the official PHP distribution. In recent versions of PHP, the register_globals setting
is turned off by default because of its serious security implications. As a result, Answer E is
correct.