* Philip M. Gollucci <[EMAIL PROTECTED]> [2002-03-27 09:59]:
> I know perl is server side and javascript is client side.
> AFAIK, getting the resolution is a client side thing.  I know I
> can embed an html page with javascript in it that redirects to
> a perl file setting the query string with width=1024;height=768

[-- snip --]

> But, I need to find someway to do this without the extra
> redirect. 

Since, as you already realize, there is no way to get the client
information from the server size, I think the best you can do
would be something along the lines of: have a javascript
enabled page that gets the height and width of the client (as
you've shown), that then redirects the client to a location
that can read the height and width from the query string and set
a session cookie, which can then be read and acted upon for every
subsequent request by a PerlTransHandler or RewriteRule.

Does that sound reasonable?

(darren)

-- 
Pessimests are right more often, but optimists are happy more often.

Reply via email to