Welcome to this, the final part of our three-part series on creating persistent data without CGI. If you’re not sure what persistent data is, or why it would be useful to you, you might want to go back and read part 1, where all these basic concepts are explained. In this part, we’ll be talking about some of the more advanced issues surrounding the use of cookies. Cookies were introduced in part 2, so if you’re not already familiar with what cookies are and how they can be manipulated with JavaScript, that might be a good place to start.
The advanced issues we’ll be tackling in this part of the article include the limitations that are placed on cookies, the creation of cookies that persist even after the user has shut down the browser, and sharing cookies between Web sites.
Besides those concepts covered in the previous parts, we’ll also assume that you are comfortable with HTML, and that you have a passing familiarity with JavaScript. Since cookies are a fairly advanced topic, and since everything has been explained from the ground up in parts 1 and 2, this seems reasonable.
Read the next article: cookie limitations.