Solved

Log client screen resolution

Posted on 2009-04-09
3
509 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
What You Need to Know when Searching for a Webhost Provider
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…
Suggested Courses

739 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