> A session is the time period when user Log in a website and after doing changes or seeing what he wanted to see, until he Log outs from the website.
> The sessions help to store information of the user which can be used in multiple pages solving a difficulty of HTTP address not maintaining the state of the user.
> PHP provides the sessions that may continue until user closes a browser by default but this settings can be changed through code, to enable one close the sessions even before closing the browser only.
> The three main functions involved with sessions are;
session_start() session_unset() session_destory()
> creates a session and assigns to a variable.
> The session_start() function must be written at the top of the program code immediately after the first PHP tags.