33958Article: PHP Sessionhttp://wiki.ittoolbox.com/index.php/Topic%3APHP%5FSessionPHP allows you to set up a session and store session variables. After you create a session, the session variables are available for your use on any other Web page. To make session information available, PHP does the following:PHP > Tips and Tutorials > Cookies and SessionsNov 9, 2006Information Technology Toolbox, Inc.
This simple code shows you how to use cookies (THE BASICS OF IT!). This code basically checks if the user has been on the site before. It first sets a cookie and then checks if it exists using an IF.
Cookies are simply files stored in a special temporary location determined by your web browser (like Internet Explorer) which allow public information to be stored for your benefit usually. By public information, this can entail any information that you have entered into forms on websites, or certain non-identifying information such as your IP address or user agent.
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.