Learn how to use cookies to allow user downloading a file only once. Limit people from accessing things more than once. Simple comments and explanations.
This Article takes you step by step in creating a member system for your site. From designing mySQL tables, creating a registration script and logging them in with sessions and cookies.
Setting and playing around with cookies is a fun and useful way to save data on a user's hard drive, and can successfully store valuable information which may be helpful the next time they come to the site. Its fairly simple to set up, and even easier to read.
For those new to web development and 'how things work', cookies can be a very confusing matter. In this tutorial, Timothy gives you an overview of cookies to help you understand how they work.
This document describes how to customize the session handlers in PHP4. It provides examples of how to write a fully functional session handler that works with DBM files and one that works with a MySQL database.
According to the cookie specification, any cookie set for one domain, must not be sent to any other domain. Therefore, if you set a cookie in your user's browser on one domain, that cookie will not be available on any other domain. This tutorial describes a solution to get around this issue.