JavaScript : JavaScript : Cookies

Cookies Complete

0.0/5 (0 votes cast)

Learn how to work with javascript cookies. Check if cookies are enabled. Set, read and delete cookies.

Understanding Session-only Cookies

0.0/5 (0 votes cast)

Learn about session-only cookies in JavaScript, and how they can help your scripts retain information even after the page is reloaded or cleared.

Cookies

0.0/5 (0 votes cast)

A cookie is a way you can store some information about a user visiting your site. The information is stored on the individuals computer, and thus you do not need any extra server space to customize a page for any amount of users you may have. To use Cookies there are two things you need to do, one is set the cookie, and the other is retrieve a cookie you have already set. Here's a brief tutorial on how to use cookies, and a couple of ideas which you can use cookies for.

If your script relies on JavaScript cookies to store and persist information, it's a good idea to always make sure the user's browser has cookies enabled first. This tutorial shows you how to perform this detection.

INTERNET cookies are incredibly simple, but they are one of those things that have taken on a life of their own. Cookies started receiving tremendous media attention starting February 2000 because of the Internet privacy concerns. The debate still rages on.