Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Spy Logs

by freak (Initiate)
on May 04, 2004 at 13:06 UTC ( [id://350439]=perlquestion: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.

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 ?

Replies are listed 'Best First'.
Re: Spy Logs
by talexb (Chancellor) on May 04, 2004 at 13: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 13: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 (Cardinal) on May 05, 2004 at 11:20 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://350439]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.