Expires is for setting a time period, ExpiresAbsolute is for specifying
<% Response.Cookies("User").Expires =3D 0 %>
<% Response.Cookies("User").ExpiresAbsolute =3D now %>
should do the trick
From: Murali Natarajan [mailto:Murali_Natarajan@r...]
Sent: 17 July 2001 16:42
To: Code Clinic
Subject: [proasp_codeclinic] Cookies.Expires
I have the following line of code in my asp page to expire a cookie.
doesn't seem to work. I'd appreciate any help regarding the same.
<% Response.Cookies("User").Expires =3D Date - 10 %>
When I response.write the value after executing the above statement in
different page, it still prints the value. How do I really expire a