I have code that depends on the expiry date of a cookie. I can set the expiry date of the cookie, but I can't figure out how to get the value of the Expires property.
I tried this...
<%= Request.Cookies("Voted".expires %>
but it calved on me...
I know that if the cookie does not exist that I will get an empty string, but I want to do something with the date value. Is there any way to pick this value up ?
Peter
I tried this...
<%= Request.Cookies("Voted".expires %>
but it calved on me...
I know that if the cookie does not exist that I will get an empty string, but I want to do something with the date value. Is there any way to pick this value up ?
Peter