S
Shapper
Hello,
I need to know how to do 2 things:
1. CREATE a NEW cookie with 2 values: "password" and "user".
2. APPEND 2 new values to an ALLREADY EXISTING cookie.
I created a code which is working:
Dim cookie As HttpCookie = New HttpCookie("MyCookie")
cookie.Values.Add("culture", "pt-PT")
cookie.Expires = #01/01/2010#
Response.Cookies.Add(cookie)
I don't understand what code changes should I implement from (1) to (2).
Can someone help me?
Thank You,
Miguel
I need to know how to do 2 things:
1. CREATE a NEW cookie with 2 values: "password" and "user".
2. APPEND 2 new values to an ALLREADY EXISTING cookie.
I created a code which is working:
Dim cookie As HttpCookie = New HttpCookie("MyCookie")
cookie.Values.Add("culture", "pt-PT")
cookie.Expires = #01/01/2010#
Response.Cookies.Add(cookie)
I don't understand what code changes should I implement from (1) to (2).
Can someone help me?
Thank You,
Miguel