What is a Session in PHP?
A PHP session is no different from a normal session. It can be used to store information on the server for future use. However this storage is temporary and is flushed out when the site is closed. Sessions can start by first creating a session id (unique) for each user.
Syntax : session_start()
E.g. storing a customerâ€™s information.