tags:

views:

813

answers:

2

I need to store a cookie that has the following information:

key1: datetime key2: datetime key3: datetime

How can i create and access the cookie with the above properties?

I need to manipulate this cookie via javascript (I am using jquery).

(side question, javascript cookie work is 'live' correcT? i.e. it doesn't need a postback to change cookie values etc?)

+3  A: 
brendan
+2  A: 
  1. jQuery Cookies plugin makes life easy.

  2. Cookies live on the client's computer, not the server. There is no need to postback when manipulating cookies.

Matt Ball