How to Restrict voting once per browser using javascript ??
Hai all,
Iam conducting a survey in my project. In that , I have to restrict the user to post Vote once in a browser. In the same browser, he wouldnt post more than once. How to do that ?? thanks in advance. Mohan Back to top |
|||||
You set a javascript cookie using our javascript cookies script.
However, we don't write people's code for them. the basic idea is simple: on completion of the signup or counting form, you set a cookie, either server side with something like php, or client side, in the user browser, with javascript. Check the form page for the presence of the completed action cookie, and if not present show the form, otherwise show some other message, such as you can only do this once. Back to top |
|||||
|
|||||
All times are GMT - 8 Hours
|