Delete all cookies
Use the cookie collection to delete all the cookies in the users browser.
2109 Since 25th November, 2003
Select and Copy the Code
<%@ Language=VBScript %>
'loop through cookie collection
Response.Write "Deleting cookies...<BR>"
For Each objCookie In Request.Cookies
'delete the cookie by setting its expiration Date
'to a Date In the past
Response.Cookies(objCookie).Expires = "September 7, 1998"