Aug 19, 2003 #1 puitar Programmer Apr 8, 2001 64 AU Hello, My application uses ASP.NET cookies eg response.cookies("CartID".Value = 389 I need to be able to destroy this cookie so I can... if Request.Cookies("CartID" Is Nothing then 'create a new cart end if Thanks
Hello, My application uses ASP.NET cookies eg response.cookies("CartID".Value = 389 I need to be able to destroy this cookie so I can... if Request.Cookies("CartID" Is Nothing then 'create a new cart end if Thanks
Aug 20, 2003 1 #2 gazzeruk Programmer Aug 19, 2003 21 GB Hi, Doesn't Response.Cookies.Remove("mycookie" clear it! If not, try expiring the cookie at the time you want it removed. Hope this helps, Cheers. Upvote 0 Downvote
Hi, Doesn't Response.Cookies.Remove("mycookie" clear it! If not, try expiring the cookie at the time you want it removed. Hope this helps, Cheers.
Aug 20, 2003 1 #3 RiverGuy Programmer Jul 18, 2002 5,011 US Yes. Set the Expiration to .Now() Upvote 0 Downvote
Aug 20, 2003 Thread starter #4 puitar Programmer Apr 8, 2001 64 AU Thanks guys...I'll try it now Upvote 0 Downvote