Setting a Cookie

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:

ITWorld DealPost: The best in tech deals and discounts.
Shop Tech Products at Amazon