Web technologies Questions | PHP Quiz | Set 1 | Question 14
If you handle a session in PHP which of the below is the correct syntax for that?
(A) session_start() function
(C) isset() function
(D) session_destroy() function
Explanation: The first step is to start up a session. After a session is started, session variables can be created to store information. The PHP session_start() function is used to begin a new session. It also creates a new session ID for the user. For handling sessions() in PHP the correct syntax is session_start() function.
Quiz of this Question
Please comment below if you find anything wrong in the above post