Solved

Log client screen resolution

Posted on 2009-04-09
3
447 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now