I want to detect users’ screen size and pass this into a charting application (Chart Director by http://www.advsofteng.com) to control how big an image to display.
I have to use ASP, but I can only think to use JavaScript to detect screen-size and then pass this into the server-side script. Is there an easier way?
Thanks
No, the server knows nothing about the client other than basic info like IP and browser version. Screen resolution can easily be determined via javascript and passed to the server though, using ajax, or via form submission.