How to Check If a Cookie Exists With ASPby Kevin Lee
Web cookies help website owners remember their site visitors.These cookies, for example, can store passwords and user IDs so that site visitors do not have to log in manually every time they visit a website. ASP, an older programming language, can create and manage Web cookies. If you are an ASP developer, you can use a convenient "CBool" function to determine if a cookie exists before attempting to process it.
Open Notepad or WordPad.
Paste the following code into a new document: <% Response.Cookies("test2") = "testing" Dim cookieToFind cookieToFind = "test2" cookieFound = CBool(Len(Request.Cookies(cookieToFind)) > 0) response.write("Cookie Found = " & cookieFound) %>