View Full Version : help with timer

10-11-2008, 01:19 PM
hello members, I'm new here and would like some help !

My webpage has a 30 seconds timer which counts down to 0 and gives a result :)

well the timer is known as x

so my users don't wanna wait for it , they just cheat using the following code :

javascript:var x=1

:mad: , is there anyway to prevent that from happening ?

i hope you help me as fast as possible , this is really urgent .


10-11-2008, 01:20 PM
There is nothing much you can do, except for re-thinking your quiz page and use a server-side solution (database + server-side language php, asp...) not a client-side one (javascript). javascript is an "open" language created to increase the dynamic interaction; it was not meant for this sort of hidden/security jobs.