What is the purpose of $_SESSION[]?

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.

Share

Leave a Reply

Your email address will not be published. Required fields are marked *