Solved

Log client screen resolution

Posted on 2009-04-09
3
485 Views
Last Modified: 2012-05-06
How can i log client screen resolution in a webserver like nginx or apache. In apache logs i see that i can log ip, referer, os, browser but i didn't found how to log screen resolution or color. It is posible?
0
Comment
Question by:rares_dumitrescu
3 Comments
 
LVL 8

Expert Comment

by:MrMintanet
ID: 24111311
What?
0
 
LVL 27

Accepted Solution

by:
caterham_www earned 500 total points
ID: 24111738
You can't log that in a way you're logging the referer etc. You'll need some embedded javascript code which reads the resolution and requests something, e.g. a 1x1 px image like /image.jpg?res=1600x1024 while the values were generated by javascript. Now, a request for /image.jpg?res=1600x1024 would appear in your logs.
0
 

Author Comment

by:rares_dumitrescu
ID: 24114145
Yeah, i touth so, i didn't wanted to do 2 requests. thank you.
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

808 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