[thelist] Recording screen resolution in web logs

Rob Whitener rwhitener at DesignOptions.com
Fri Nov 22 10:16:10 CST 2002


You could use a serverside script to set a cookie on one page, use
javascript to get client height, width, and browser with version, then on
the next page pull the cookie from the client and read the data to your
database.  This basic scheme also works for passing hashed passwords from
client to server.

Rob

-----Original Message-----
From: Francois Jordaan [mailto:francois.jordaan at wheel.co.uk]
Sent: Friday, November 22, 2002 11:08 AM
To: 'thelist at lists.evolt.org'
Subject: [thelist] Recording screen resolution in web logs


I want to add some code to a website so that I can survey for the next 3
months the users' browser specs. This will give me stats to work with for a
planned redesign.

Regular web log gives me browser brand & version, but I want screen size
(and ideally window size). I've seen this done but can't remember where.

Would this work?
a. write some Javascript that docwrites a query string onto an image on the
home page, something like ?x=640&y=480
b. Server web log records the query string
c. report off the web log in due course

francois

_____________________________________________________________________
This e-mail has been scanned for viruses by MessageLabs.
--
* * Please support the community that supports you.  * *
http://evolt.org/help_support_evolt/

For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !



More information about the thelist mailing list