Here's a brief tutorial on set and retrieve cookies using JavaScript. A cookie is a way you can store a tiny bit of information from a user visiting your site. The information is stored on the users computer, and thus does not require any extra server space no matter how many users you may have.
See the Cookies Article in DevNotes for issues regarding the safety, and security of using cookies. They are more or less harmless.Some ways you can use cookies is to save user preferences, to customize data, or to keep track of ordering items while a user browses. Cookies can help give a personal touch to your page by remembering the information the user gave last time.
|