Well,
I wonder if it's possible to read a user's screen resolution from ASP.

In the same way as you can with ex JavaScript
<SCRIPT LANGUAGE="JAVASCRIPT">
userScreenHeight = screen.height;
</SCRIPT>

I'm running VBScript in my asp-pages, and for some reason this code fails:
<%
DIM LinesPerPage
LinesPerPage = 19

IF Screen.Height = 600 THEN
LinesPerPage = 13
END IF
%>

And then when i out-comment the IF-block, the code runs without errors.


Now please, Ladies or Gentlemens what should I test for in my IF-block??


/Rasmus