The Secret Art of Cookies: Part 1
By: Rob Williams on Monday, September 10, 2007
Reader Level: 
Preserving data for an end user can be one of the more challenging tasks when you first start to learn a server-side programming language like PHP. Sessions are a good starting point that allow you to carry information about users across multiple pages of your site, but alone they can fall short of expectations as they are always only limited to the length of a current browsing "session".
What about those times when you want to preserve information (such as a user's login) for a longer period of time? This is where the wonderful world of cookies comes in! In this article we'll explore what cookies are, why they're userful, and how to use them in PHP.
The Secret Art of Cookies Series:
The Secret Art of Cookies: Part 1
The Secret Art of Cookies: Part 2
Purchase this item
You can purchase this piece of content separately for
$4.00
Want more?
Community MX members get unlimited access to daily articles,
tutorials, extensions and support. The most comprehensive
resource for Macromedia designers and developers today.
Take a tour of what we offer, and discover the benefits
of subscribing.
Already a member?
Simply log in using the form in the top right area of the site.

