Learn how to add and play around with cookies.
As a website becomes more sophisticated, so must the code that backs it. When you get to a stage where your website need to pass along user data from one page to another, it might be time to start thinking about using PHP sessions.
This simple script shows you how to set cookie, retrieve data from it and how to delete a cookie.