In Php Let us learn about session variables in Php:
- What is a Session Variable?
- Why do we need a Session variable?
- How to Use Session Variable ?
What is a Session Variable?
Session variables are used to store information for a particular period of time at server side if browser is not closed forcefully. The values in session variables exist only till the session exists. They are used to carry information from one page to another page . We can create a session using a session identifier and store it in the server. When the client makes any request, the data stored in the session variable can be accessed by PHP. Read more…