Update Cookie

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • James

    #1

    Update Cookie

    Hi,

    I am trying to update a cookie value using the following code:

    Response.Cookie s["NAMEOFCOOK IE"].Values[1] = "VALUE";

    This actually deletes the cookie rather than updating.

    I have set an expiry date for the cookie on creation.

    Any suggestions much appreciated

    James
Working...