An Introduction To PHP Sessions
What is a Session?
A session is basically a way of storing variables and making them available across multiple pages on your web site. This can be very useful as the user does not ever need to see what is going on behind the scenes. Nor do we need to fill the URL with mind boggling long strings like http://example.com/file.php?id=6&item=pet&type=cat&color=black&eyes=1&temperament=aloof&var=etc.
Also the need for the user to post a form is not required, so all interaction is hidden from the user.
