Changes

Jump to: navigation, search

Understanding JavaScript Cookies

7 bytes added, 14:52, 18 May 2007
Creating a Coookie
Despite the limitations outlined above, cookies provide an excellent way to maintain state on the clients browser. For example you might want to store information in a cookie so that when a user returns to your site they can pick up where they left off (perhaps partway through completing an all important purchase in an online shopping cart).
== Creating The Structure of a Coookie Cookie ==
Cookies are created using the ''cookie'' property of the ''Document'' object. The format of a cookies is as follows:

Navigation menu