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

Re: Active X & Perl

by dorward (Curate)
on Dec 10, 2006 at 23:26 UTC ( [id://588950]=note: print w/replies, xml ) Need Help??


in reply to Active X & Perl

I'm guessing that you are talking about a website.

In theory, you could track unique visits on a per login per computer basis using an ActiveX control. This would have practically nothing to do with Perl though. Said control would have to pass data to the server, and you could use Perl on the server side, but that's about as far as it goes.

It isn't a very good solution though. ActiveX only works in Internet Explorer (and related browsers) on Windows (so say goodbye to anyone using a Mac, Linux, Firefox, a mobile phone, etc, etc). Also, allowing the install of an ActiveX control allows a website to do practically anything to a system - asking for that level of trust just to track unique visitors isn't sensible.

Saner approaches would be based on cookies (with allowances being made for users who don't accept the cookie) or logins (which can tie a session to an email account, or some other piece of evidence of uniqueness (not that an email account is an infallible example of such).

Replies are listed 'Best First'.
Re^2: Active X & Perl
by Joost (Canon) on Dec 10, 2006 at 23:36 UTC
    dorward++

    In theory, you could track unique visits on a per login per computer basis using an ActiveX control.

    Just to make it a bit clearer that this still isn't a reliable method: it confuses visitors (who are supposedly human) with user accounts on specific machines. For one thing, if someone uses two machines (s)he will be counted twice. Also, if more people use the same account on the same machine (quite common, especially on windows or on public terminals) they'll be counted as a single visitor. In short, you won't gain much over a login system or even cookies.

    Additionally it should be impossible for any random user of a public machine (or even shared "home" machine, if the administrator has a decent sense of paranoia) to install an active-x control.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-23 19:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found