Session in PHP

Session use to preserve certain data across subsequent accesses. Unlike a cookie, session information is not stored on the users computer, it creates a file in a temporary directory on the server where registered session variables and their values are stored. This data will be available to all pages on the site during that visit.

Click here for session in PHP