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. Check Database after every 10 Seconds?

Check Database after every 10 Seconds?

Scheduled Pinned Locked Moved ASP.NET
csharpdatabasetoolsquestion
5 Posts 4 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.
  • A Offline
    A Offline
    Abubakarsb
    wrote on last edited by
    #1

    Hi Friends, I am developing a website to watch online movies. User needs to call a number to view movie (A company provide service to check whether user is connected to line or not They will call a script that will save or delete record in the database when user connects or disconnects phone line). The only think which I need is that I need to run a script that checks database after every 5 or 10 seconds whether user record exists or not. I know it is possible to 'Refresh' page after certain time but my client doesn't want to do like this. I am using (c# or vb.net) and Access database for this. I am struggling in it so waiting desperately for your reply. Regards, Abubakar Malik

    N G C 3 Replies Last reply
    0
    • A Abubakarsb

      Hi Friends, I am developing a website to watch online movies. User needs to call a number to view movie (A company provide service to check whether user is connected to line or not They will call a script that will save or delete record in the database when user connects or disconnects phone line). The only think which I need is that I need to run a script that checks database after every 5 or 10 seconds whether user record exists or not. I know it is possible to 'Refresh' page after certain time but my client doesn't want to do like this. I am using (c# or vb.net) and Access database for this. I am struggling in it so waiting desperately for your reply. Regards, Abubakar Malik

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      use XMLHTTP Request and response in javascript. Send asynchronous request and get the response. Prnt the value where u want to

      Cheers Navaneeth!! www.w3hearts.com

      A 1 Reply Last reply
      0
      • N N a v a n e e t h

        use XMLHTTP Request and response in javascript. Send asynchronous request and get the response. Prnt the value where u want to

        Cheers Navaneeth!! www.w3hearts.com

        A Offline
        A Offline
        Abubakarsb
        wrote on last edited by
        #3

        It will be really nice if you give me some code for that.

        1 Reply Last reply
        0
        • A Abubakarsb

          Hi Friends, I am developing a website to watch online movies. User needs to call a number to view movie (A company provide service to check whether user is connected to line or not They will call a script that will save or delete record in the database when user connects or disconnects phone line). The only think which I need is that I need to run a script that checks database after every 5 or 10 seconds whether user record exists or not. I know it is possible to 'Refresh' page after certain time but my client doesn't want to do like this. I am using (c# or vb.net) and Access database for this. I am struggling in it so waiting desperately for your reply. Regards, Abubakar Malik

          G Offline
          G Offline
          Guffa
          wrote on last edited by
          #4

          Would you please stop asking the same question over and over and over and over and over again, at least until you have read the replies that you already have gotten.

          --- single minded; short sighted; long gone;

          1 Reply Last reply
          0
          • A Abubakarsb

            Hi Friends, I am developing a website to watch online movies. User needs to call a number to view movie (A company provide service to check whether user is connected to line or not They will call a script that will save or delete record in the database when user connects or disconnects phone line). The only think which I need is that I need to run a script that checks database after every 5 or 10 seconds whether user record exists or not. I know it is possible to 'Refresh' page after certain time but my client doesn't want to do like this. I am using (c# or vb.net) and Access database for this. I am struggling in it so waiting desperately for your reply. Regards, Abubakar Malik

            C Offline
            C Offline
            Carmine_XX
            wrote on last edited by
            #5

            You can simply use an AJAX timer that manage the hidden postbacks that check if the record exist, interrupts the video. AJAX timer is a component of Microsoft AJAX framework (Atlas) and it's completely freeware. Enjoy ;)

            Carmine, Webmaster of: www.thetotalsite.it My web blog: blog.thetotalsite.it

            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