Cookie Demonstration

Reading the value of COOKIETEST using the code below

 

Response.Write "<h3>DICTCOOK.HasKeys=" & Request.Cookies("DICTCOOK1").HasKeys & "<BR>"
Response.Write "DICTCOOK.Count=" & Request.Cookies("DICTCOOK1").Count & "</h3>"
Response.Write "<h3>DICTCOOK/Value1=" & Request.Cookies("DICTCOOK1")("Value1") & "<br>"
Response.Write "DICTCOOK/Value2=" & Request.Cookies("DICTCOOK1")("Value2") & "<br>"
Response.Write "DICTCOOK/Value3=" & Request.Cookies("DICTCOOK1")("Value3") & "</h3>
"

DICTCOOK.HasKeys=False
DICTCOOK.Count=0

DICTCOOK/Value1=
DICTCOOK/Value2=
DICTCOOK/Value3=


Cookie Samples Home