Welcome to WebmasterWorld Guest from 50.19.0.90

Forum Moderators: DixonJones & mademetop

Message Too Old, No Replies

Logging screen resolution

Without JS

     
1:36 pm on Jul 14, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 27, 2002
posts:959
votes: 0


I always thought access logs did not save that kind of data. Now I know that you can find out a users screen resolution through a bit of JavaScript and then configure your web server to log that, but does any web server (IIS, Apache, whatever) log this without JS?
2:19 pm on July 14, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Jan 7, 2003
posts:1230
votes: 0


sinner_g,

in my knowledge it is not possible to do so, because the webserver only delivers data to the browser and can only log the query (url, and head data of the http request).

for this, the data of the screen resolution could only be delivered and then logged by the server if the browser (or a script in the browser) will put it into the request.

a workaround could be a session based solution with some other stuff like java or flash but i don't think that's what you meant.

- hakre

2:22 pm on July 14, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 27, 2002
posts:959
votes: 0


Thought so. I was asking mainly because I saw some log analysis tools said they could do it, but I guess it's only those that add some code to your files.

Thanks
Sinner

2:52 pm on July 14, 2003 (gmt 0)

Senior Member from MT 

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 1, 2003
posts:1843
votes: 0


well you could write it into cookis using JS.

Perhaps those logging software use cookies to track sessions. Then it'd be trivial to ad resolution info via JS.

The usual applies, no JS, no log, NO cookies, no log and so on...

SN

3:01 pm on July 14, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Jan 7, 2003
posts:1230
votes: 0


thats exactly what i meant: cookies can be part of the head data in a http request. only if this is supplied, the server can log (like the refferer some browser supply).
12:43 am on Aug 17, 2003 (gmt 0)

New User

10+ Year Member

joined:Aug 16, 2003
posts:12
votes: 0


Please take a look at
[sawmill.net...]
I found it yesterday, so I did not practice it yet.
11:00 am on Aug 18, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:May 11, 2003
posts:56
votes: 0


Antavre!

... bloody brilliant... pulled the script... pasted it into a page... works like a charm!

Thank you for sharing... it is all there, the only trouble is where :)

Thanks,
Max

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members