Show All Cookies in the Specific Path

Writing all available cookie values using the code below. We would expect to see all cookies where the domain/path was not set, and also the cookie(s) specific to this path (/csc123/AspSamples/Cookies/DomainTest).

Response.Buffer = true

dim cookie
For Each cookie in Request.Cookies
    Response.Write cookie & "=" & Request.Cookies(cookie) & "<BR>"

Cookie Samples Home