Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Spy Logs

by freak
on May 04, 2004 at 17:06 UTC ( #350439=perlquestion: print w/ replies, xml ) Need Help??
freak has asked for the wisdom of the Perl Monks concerning the following question:

By "Spy Logs" i mean the little counters that count how many people have entered the website. My question is - if I connect 3 times to a website through a proxy with LWP::UserAgent, will the "Spy Log" on the website see me as 3 different people or as one person ?

Comment on Spy Logs
Re: Spy Logs
by talexb (Canon) on May 04, 2004 at 17:16 UTC

    It depends on how the 'Spy Log' is set up. The ones I've seen just count accesses, so you visiting three times would count as three.

    Now, if you look in the access logs for your web server, you'd probably also see three visits, but this time(1, see below) you'll see the same IP for each visit.

    Alex / talexb / Toronto

    Life is short: get busy!


    1. Notwithstanding dynamic IP arrangements like AOL, DHCP, etc., etc., etc.

      and if i connect through 3 different proxies, will it be written in the log 3 times my IP or the 3 different IP's of those proxies ?

        I'm not an expert, but I believe it will show up as your three proxies, not your real IP.

        I'd try it (or get someone else to try it) and see.

        Alex / talexb / Toronto

        Life is short: get busy!

Re: Spy Logs
by pizza_milkshake (Monk) on May 04, 2004 at 17:30 UTC
    freak: you have asked this question several times in the last week.

    it is likely you are trying to write some kind of script to artificially inflate some sites' stats.

    inflating these stats will be based on how the website registers the view, some may just keep track of page views (as in "index.html"), other systems will track how many times a particular item in a page, usually an image are loaded. the system could even be based on a browser having to perform some kind of task in the background with javascript in order to register a hit. it all depends.

    the perl LWP modules are documented very well as to what they do. your job is to figure out what the stats system requires you to do in order to register a stat.

    do your own research and please stop wasting the monks' time.

    perl -e'$_="nwdd\x7F^n\x7Flm{{llql0}qs\x14";s/./chr(ord$&^30)/ge;print'

Re: Spy Logs
by davido (Archbishop) on May 05, 2004 at 15:20 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://350439]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2014-10-26 07:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (152 votes), past polls