Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. how to insert Stop Watch in Online examination

how to insert Stop Watch in Online examination

Scheduled Pinned Locked Moved ASP.NET
helptutorialquestion
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nareshss
    wrote on last edited by
    #1

    Hi Everybody ... This is naresh iam developing online exam application,... here ive some problem to Insert a Stopwatch... that stop watch will useful wen the total time reaches the maximum time of the exam that page will automatically navigate to another page .... i need help for inserting the stop watch while he is writing the exam Iam using Web user control for my examination question paper (i.e, .ascx file ) . i donno how to insert stop watch there and the functionality also i donno... i tried in many cases but am not getting the expected result ... plz help ... Thanks in Advance Naresh

    C W 2 Replies Last reply
    0
    • N nareshss

      Hi Everybody ... This is naresh iam developing online exam application,... here ive some problem to Insert a Stopwatch... that stop watch will useful wen the total time reaches the maximum time of the exam that page will automatically navigate to another page .... i need help for inserting the stop watch while he is writing the exam Iam using Web user control for my examination question paper (i.e, .ascx file ) . i donno how to insert stop watch there and the functionality also i donno... i tried in many cases but am not getting the expected result ... plz help ... Thanks in Advance Naresh

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      To do it on the client, it needs to be done in javascript. It would then be easily hacked. Another option is to make AJAX calls that just check if the time has elapsed, but to store the starting time in the session, on the server, so it is secure.

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      N 1 Reply Last reply
      0
      • C Christian Graus

        To do it on the client, it needs to be done in javascript. It would then be easily hacked. Another option is to make AJAX calls that just check if the time has elapsed, but to store the starting time in the session, on the server, so it is secure.

        Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

        N Offline
        N Offline
        nareshss
        wrote on last edited by
        #3

        Hi ... Thanks 4 ur answer but the problem is :::::::::: ive JavaScript editor .... i got all the clock controls in javascript editor ... in that one control "Redirect Clock " , its very useful but the problem is that .... " wen iam in the first question it is showing that max num of seconds ive given in java script ... but wen i click on NEXT Question button the page will automatically refreshes and the second question will comes ... so for that question also am getting the same max time .... the problem is that if the page refreshes the stopwatch restarts again .... " In this case only i confused wat to do ? n one more ,,,, iam very new to dotnet , and i donno abt AJAX ,, i never used in any project .. waiting 4 ur answer ... bye naresh

        1 Reply Last reply
        0
        • N nareshss

          Hi Everybody ... This is naresh iam developing online exam application,... here ive some problem to Insert a Stopwatch... that stop watch will useful wen the total time reaches the maximum time of the exam that page will automatically navigate to another page .... i need help for inserting the stop watch while he is writing the exam Iam using Web user control for my examination question paper (i.e, .ascx file ) . i donno how to insert stop watch there and the functionality also i donno... i tried in many cases but am not getting the expected result ... plz help ... Thanks in Advance Naresh

          W Offline
          W Offline
          wEb GuRu
          wrote on last edited by
          #4

          Well Naresh There might be many techniques to solve this problem. But I think you can insert invisible iframe(height=0,width=0) say "refresh.aspx" to all of your Pages. Now refresh the page "refresh.aspx" using Response.AddHeader("Refresh", "60") At PageLoad event you can use some session variables to store time left, time spent etc. Hope it will solve your problem.

          All the way from Sialkot ...

          N 1 Reply Last reply
          0
          • W wEb GuRu

            Well Naresh There might be many techniques to solve this problem. But I think you can insert invisible iframe(height=0,width=0) say "refresh.aspx" to all of your Pages. Now refresh the page "refresh.aspx" using Response.AddHeader("Refresh", "60") At PageLoad event you can use some session variables to store time left, time spent etc. Hope it will solve your problem.

            All the way from Sialkot ...

            N Offline
            N Offline
            nareshss
            wrote on last edited by
            #5

            ok fine , thats is ok but ive to show that control ( stop watch ) to candidate who is writing the examination... thast y am asking i think if i use the invis iframe , refresh --> the page will refreshes automatical ly thats all.. but i need to show.. if u ve any answer for this plz reply me ... as i told previously iam newer to dotnet plz post clearly... so that i can understand easily. Thanq ....... bye naresh

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups