Which one of the following is the very first task executed by a session enabled page?
A
Delete the previous session
B
Start a new session
C
Check whether a valid session exists
D
Handle the session
Correct Answer: Check whether a valid session exists
The session variables are set with the PHP global variable which is $_SESSION. The very first task executed by a session enabled page is Check whether a valid session exists.