whammy...
Yes, I can do that, but i want to do it in the same page, without submiting the actual asp page.
I'm trying to create cookies with this info from javascript at the top of the page, then from "Request.Cookies" read them, but it doesn't work , the cookies are created, but when I try to read them from the same page, there is no values in the cookies, this values appear until I reload the page "Refresh Button" . here is the code...
(here I create cookies)
<SCRIPT LANGUAGE="JavaScript">
document.cookie = "appName=" + navigator.appName;
document.cookie = "plataforma=" + navigator.platform;
document.cookie = "resolucion=" + screen.width + "x" + screen.height;
document.cookie = "colorDepth=" + screen.colorDepth;
document.cookie = "referrer=" + navigator.referrer;
</SCRIPT>
<HTML>
<BODY>
(to retrieve this values, only works when I refresh the browser, the first time, the values are empty)
<%
Response.Write("<BR>" & Request.Cookies("appName"))
Response.Write("<BR>" & Request.Cookies("plataforma"))
Response.Write("<BR>" & Request.Cookies("resolucion"))
Response.Write("<BR>" & Request.Cookies("colorDepth"))
Response.Write("<BR>" & Request.Cookies("referrer"))
%>
</BODY>
</HTML>
Is there some way I can do it, without submiting info to another page?
Thanks in Advance!
Roberto Ayala.