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 can eliminate constant polling?

How can eliminate constant polling?

Scheduled Pinned Locked Moved ASP.NET
questionjavascriptsysadmin
2 Posts 2 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.
  • M Offline
    M Offline
    Mikeyyy
    wrote on last edited by
    #1

    Scenario: I have two web users. If user 1 makes a change to an Application server state variable, how do I notify user 2 about the new info without doing constant javascript polling in a timer using Ajax, which is what I am doing right now? I would like to make this more efficient because the contant polling seems expensive to me. Any ideas? Thanks!

    C 1 Reply Last reply
    0
    • M Mikeyyy

      Scenario: I have two web users. If user 1 makes a change to an Application server state variable, how do I notify user 2 about the new info without doing constant javascript polling in a timer using Ajax, which is what I am doing right now? I would like to make this more efficient because the contant polling seems expensive to me. Any ideas? Thanks!

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

      AJAX is the only way you can send info to a user who does not themselves click on a link, or go to a new page.

      Christian Graus - Microsoft MVP - C++ "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 )

      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