Saturday, November 25, 2017

phpMyPassion

What Is PHP Session?


Definition :-

A session is use to store details of a user across multiple pages. Session is technique to recognized a user from single page to all pages in one application.

How the php session works :-

When you open a website on browser, its create a session variable to store your information's until you close the application.  Your system knows who you are. It knows the time when you start the application and when you close it. 

Mostly when someone login to a website, as per programming it create a session and store it on the browser. Session variable store until you logout from the website. You can also store the required user information's to your database using session variable. 

Starting a PHP Session :-

$_SESSION[ ] function is used to create a session. See the post for PHP SESSION SYNTAX & EXMPLE


About Author -

Hi, I am Anil.

Welcome to my eponymous blog! I am passionate about web programming. Here you will find a hug of information on web development, web design, PHP, Python, Digital Marketing and Latest technology.

Subscribe to this Blog via Email :