Setting a Cookie

By David Wall, ITworld |  How-to

Cookies are created by setting the document.cookie property equal to a
properly formatted string. When you create a cookie, you must specify
at least its name and its value. Additionally, you can specify some
other characteristics of the cookie. Here's a full list:

* name=value:

Join us:
Facebook

Twitter

Pinterest

Tumblr

LinkedIn

Google+

Answers - Powered by ITworld

ITworld Answers helps you solve problems and share expertise. Ask a question or take a crack at answering the new questions below.

Join us:
Facebook

Twitter

Pinterest

Tumblr

LinkedIn

Google+

Ask a Question
randomness