<script language="javascript" type="text/javascript">
document.cookie = "mycookie=2; expires=1/1/2020; path=/;";
</script>
<%
Dim myBrownie
'get the cookie
myBrownie = Request.Cookies("mycookie")
Response.Write("You ate " & myBrownie & " brownies")
%>
I do not see the value of the cookie until after I refresh the page.