quote:
Originally posted by HuwR
not sure what you are after, a cookie is a cookie it is a text file saved on the users machine they are language agnostic so you can just read them using ASP the same as you can read them using javascript
This is what I am trying to do:
<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.