Crispy JavaScript Cookies: Final Thoughts - Doc JavaScript | WebReference

Crispy JavaScript Cookies: Final Thoughts - Doc JavaScript


A Final Word

You should now know how to manipulate cookies with JavaScript. Cookies, which required server-side CGI applications not long ago, can be assigned and retrieved with simple client-side scripting, such as JavaScript and VBScript. In this column we presented a set of useful functions that do most of the work for you. With these functions, you don't actually need to know how JavaScript handles cookies internally, but rather how to use these user-defined functions. In this column you learned:

  1. How to set a cookie and get one with HTTP headers.
  2. How to set a cookie and get one with JavaScript.
  3. How to use pre-packed functions to save time.
  4. How to put a personal counter on your page.
  5. How to "remember" the user's name.

For further reading, check out the following resources:

http://www.internet.com

Created: December 4, 1997
Revised: December 4, 1997
URL: http://www.webreference.com/js/column8/final.html