Cookies :
THE TECHNIQUE
-  
- Send Page To Friend 








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 >>  







Got unanswered questions related to this page?

Visit the Talk Back Page and post your questions!







DEVELOPER TIP!





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