i'm creating a server cookie using c#.
i want to place the cookie onto the client and make is capable of being modified by javascript on the client.
i can read the contents of the cookie, but i want to destroy the cookie after it has been read from.
is there a way to define a cookie on the server side using c# and tell the server to place it on the client with out retaining a server side copy.
Once on the client side i want to be able to create a negative expiration on this cookie, so that it is destroyed.
is there any way to do this?
all attempts so far prevent me from being able to create this negative expiration date on the cookie.
i can expire a cookie on the server side, and on the client side.
i can not expire a server set cookie with client side javascript.
can this be done, and if so, how.
thanks in advance for any help.
;0)