How do i get screen resolution using classic ASP?

Posted on 2009-04-09
Last Modified: 2012-05-06
How do i get client machine screen resolution using classic ASP only?
I dont need javascript code.
Question by:havj123
  • 2

Accepted Solution

rentonc earned 500 total points
ID: 24105715
You can't get the screen resolution via ASP, its a server side code, you would need to use a client side scripting language such as Javascript.

Author Comment

ID: 24105794
But my problem is i cant get the javascript variable value in ASP code

Expert Comment

ID: 24105836
Make the Javascript open an asp page with a querystring parameter of the value you want which the uses ASP scripting to put the value into a session variable, then redirects elsewhere.

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Get hold of longitude and latitude in iframe string 11 51
PHP Curl to output a url 7 78
MS SQL + date 6 41
Validating Date Part2 2 25
Foreword (May 2015) This web page has appeared at Google.  It's definitely worth considering! How to Know You are Making a Difference at EE In August, 2013, one …
New Relic: Our company recently started researching several products to figure out what were the best ways for us to increase our web page speed and to quickly identify performance problems that we may be having. One of the products we evaluated wa… provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question