How to limit a user access a page only 1 time per hour?

J

Justin

I am developing a voting system. How to preventing a user votes
continuously? Maybe cookie is useful here, but I don't know how to use it.
Could you give me a example? Thanks.
 
S

Steven Burn

Personally I'd have gone the HTTP_REFERER route rather than cookies. Still
not very reliable if the user is with an ISP that uses Dynamic IPs as all
they need to do is disconnect and re-connect but it's still better than
cookies (IMHO anyway).

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!
 
J

Jeff Cochran

I am developing a voting system. How to preventing a user votes
continuously? Maybe cookie is useful here, but I don't know how to use it.
Could you give me a example?

You'd have found your answer by Googling:

http://www.google.com/search?q=asp+cookie+tutorial

If you just look for ASP voting scripts you'll have plenty pre-written
and you can review all kinds of code and techniques for doing this.

Jeff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top