cdAn option approach to make information available over the different pages of a whole site is to utilize a PHP Session.
A session makes a record in a provisional catalog on the server where enlisted session variables and their qualities are put away. This information will be accessible to all pages on the site amid that visit.
The area of the transitory document is controlled by a setting in the php.ini record called session.save_path. Bore utilizing any session variable ensure you have setup this way.
At the point when a session is begun taking after things happen −
PHP first makes an extraordinary identifier for that specific session which is an irregular string of 32 hexadecimal numbers, for example, 3c7foj34c3jj973hjkop2fc937e3443.
A treat called PHPSESSID is consequently sent to...