Hi,
I have a site that the members get to earn credits when they show our webpages to anyone (non-members). I have it so it adds a credit into their account with no problem, my only problem is that if they(member) refresh their browser, it will keep adding credits and obviously they could add a lot of free credits into their account pretty quickly. (cheating)
I record ip of each user. What I did do was make it so if the same user visited the page, it would deduct a credit too, so it didn't add any new credits. BUT the problem that made was if a totally different member viewed the page, it deducted a credit from them too...lol
I have also tried using sessions, but they don't work the way i need them too, for example, if they show 2 diff. pages to the same person(to earn 2 credits), it doesn't let them get credit for showing two pages if i have it to stop the sessions at 1.
Does anyone know how I can stop someone from refreshing or stop them from cheating? I hope any of my jumble makes sense LOL
Thanks in advance!