How to Display Cookies Using ASP

This code displays the cookies sent by a browser, if any, including any subkeys to those cookies. <% dim x,y for each x in Request.Cookies if Request.Cookies(x).HasKeys then for each y in Request.Cookies(x) response.write(x & ":" & y & "=" & Request.Cookies(x)(y)) response.write("
“) next else Response.Write(x & “=” & Request.Cookies(x) & “
“) end if next%>

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: