Log client screen resolution

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?
rares_dumitrescuAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
caterham_wwwConnect With a Mentor Commented:
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
 
MrMintanetCommented:
What?
0
 
rares_dumitrescuAuthor Commented:
Yeah, i touth so, i didn't wanted to do 2 requests. thank you.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.