View Full Version : Client Scree Props.
06-27-2002, 09:06 PM
Is there a way to detect the Client Screen Size and Color Depth With ASP/VBScript without useing JS?
I went to w3schools and looked for it but I couldn't find anything on that.
06-27-2002, 11:51 PM
It is not possible
06-28-2002, 06:03 AM
Try using a tracking tool such as, Webtrends Live! They track browsers, screen res, color depth, and tons others.
There is a free edition but it only has HTML based tracking and you gotta put a little 'Tracked by Webtrends Live' button on your site.
If you want to read tracking data from your PDA or off a SQL server you gotta pay for it.
07-13-2002, 10:36 PM
07-14-2002, 03:15 AM
// get browser info here, etc.
top.myhiddenframe.location = "browserinfo.asp?theinfo=" + escape(browserinfo);
Then, on browserinfo.asp you could get whatever information you passed through the querystring...
theinfo = Request.QueryString("theinfo")
07-14-2002, 04:05 AM
Yes, I can do that, but i want to do it in the same page, without submiting the actual asp page.
(here I create cookies)
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;
(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"))
Is there some way I can do it, without submiting info to another page?
Thanks in Advance!
07-14-2002, 04:08 AM
That's why I suggested using a hidden frame or iframe. The information has to be sent to the server SOMEHOW, the only way to do this without submitting or refreshing THAT page is to send the info to another one. Get it? ;)
07-14-2002, 05:17 PM
OK, I understand now, that's right, Thanks for your help!
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.