Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: help with timer

  1. #1
    New to the CF scene
    Join Date
    Oct 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Angry help with timer

    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

    , is there anyway to prevent that from happening ?

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

    Thanks

  • #2
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    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.
    KOR
    Offshore programming
    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •