Cookies :
THE TECHNIQUE








Cookies can be stored and retrieved using javascript.

The script first checks to see if a cookie has already been set.
  • If so, it uses the cookie for some purpose.

  • If not, it sets a cookie and uses it the next time the user arrives at the page.

Cookies are stored until a specified expiration date.

If a cookie is present when a user arrives at your page it is stored in the document.cookie object.

This article will teach you how to read the cookie from the document.cookie object, as well as how to specify the variables used in the setCookie command.


 << PREVIOUS
READ MORE >>  
















DEVELOPER TIP!





     "Better Than Books - As Easy As It Gets!"