Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

How to identify the Visitor

by romy_mathew (Beadle)
on Sep 11, 2011 at 20:01 UTC ( #925371=perlquestion: print w/ replies, xml ) Need Help??
romy_mathew has asked for the wisdom of the Perl Monks concerning the following question:

A Visitor visit my website and leave and now how can I track the person who visited the website.

Comment on How to identify the Visitor
Re: How to identify the Visitor
by LanX (Canon) on Sep 11, 2011 at 20:03 UTC
    Ask facebook, they know! :-)

    Cheers Rolf

Re: How to identify the Visitor
by ikegami (Pope) on Sep 11, 2011 at 20:23 UTC

    $cgi->remote_addr (CGI) or cookies.

Re: How to identify the Visitor
by CountZero (Bishop) on Sep 11, 2011 at 22:00 UTC
    What do you mean by "track"?

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

Re: How to identify the Visitor
by Inexistence (Acolyte) on Sep 11, 2011 at 22:07 UTC

    As poster above stated, CGI or Cookies are the easiest

    I'd recommend cookies, since you can normally track individual computers on a single IP using them. But you can't track them if they continually change cookies without either being a static IP and the only computer on that IP, or installing some plugin to identify them (IE what banking plugins do)

      Sorry my question was not very specific .....Suppose I find a IP visiting my website for more than 30 mins and want to identify the person or his personal information about him for that particular ip. How can this be possible, Is it possible to retrieve the information contained in cookies inserted by other websites.
        Contact the Police or FBI, obtain subpoena ...
        You can't utilize 3rd party cookies to obtain personal information. All you can do is supply them a questionaire and hope they fill in their personal details (unlikely) IP's can have multiple computers on them as I said above, so...
        There isn't in existence

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2014-12-27 09:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls