how can i store mulitple values in a single cookie???

Discussion in 'JavaScript' started by raahatazim, Aug 2, 2007.

  1. #1
    if in the cookie i am supposed to store name=value pair;and my value={email : a@b.com,web : b.com},how do i write the code to store and retrieve the cookie and in some case,retrieve a particular value of the value variable(like only email.)
     
    raahatazim, Aug 2, 2007 IP