What is the purpose of $_SESSION[]?

Options
- Used to register a global variable
- Used to initialize a session.
- Used to store variables of the current session
- none of the above


CORRECT ANSWER : Used to store variables of the current session

Discussion Board
hi

goood

kuldeep 10-4-2015 10:17 AM

Purpose of $_SESSION[]

Answer : Used to store variables of the current session.

The purpose of the function $_SESSION[] is to store data that you would like to preserve across page loads and to store variables of current session.

Jayesh Sonar 02-10-2015 03:45 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement