Gossamer Forum
Home : General : Perl Programming :

coockie-counter / rewards

Quote Reply
coockie-counter / rewards
Hi

Does anyone know about a program that will count how many times an visitor has visit my site?

I want to have a competition on my site, where a coockie is placed on their computer when they write their name, and push submit. Then the person can collect point for every time he visits my site. The person that has the most pageviews on my site for each month, wins a price.
Quote Reply
Re: coockie-counter / rewards In reply to
Have you checked out the following scripts and articles?

http://webreview.com/...8/07/perl/index.html

http://www.nihongo.org/...ies/cookiestats.html

http://www.illuminatus.com/cookie_pages/code.html

Most of these are found at Perl Archive:

www.perlarchive.com AND
www.cgi-resources.com

Regards,


------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: coockie-counter / rewards In reply to
Since cookies can be hand edited on the clients computer, don't keep the counts on the cookie. Keep them in your database. Use the cookie for verification of the username password, or some other unique identity.

------------------
Turk Scripts
turkiyem.com/turkscripts/
Quote Reply
Re: coockie-counter / rewards In reply to
It's not very difficult to write a program in VB or C++ that would dial ISP - open the browser - hit your site - close the browser - and dial ISP again.
I hope you know what I mean, otherwise you'll lose all your prizes within a day or two!
Quote Reply
Re: coockie-counter / rewards In reply to
yes, that doesn´t matter. I want as many hit as possible in the one week the competition is running (have advertising on my site).
Quote Reply
Re: coockie-counter / rewards In reply to
So, what's the first prize? Can I participate?