Timers in application web programming

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Timers in application web programming

    I'm trying to get my page to automatically update a data table every
    10 seconds but using the System.Timer object doesn't seem to work.

    Anyone know how to get a web page to automatically get new data from
    the server on a regular interval?

    Thanks,

    Stephen Inkpen
    Stephen Inkpen Guest

  2. Similar Questions and Discussions

    1. forms authentication automatic logout without timers?
      Hello, I have a web application that uses forms authentication. I have been asked to implement a feature that logs users out automatically if they...
    2. freelance web programming, web site design,c programming, java programming, VERY Low Cost web design and more
      Find expert freelance programmers and designers at the prices you want to pay. Post your projects and programmers will place bids, you choose the...
    3. Hey old timers . . . MX Chart Xtra?
      I say old timers, but this one only dates back to 1996. I'm working on a project that involves "upgrading" the project from Director 4 to Director...
    4. EventLoop Timers and Sleep Request/Demand OSX
      Is anything in particular required of my app which has a (perhaps running) EventLoopTimer under OSX when Sleep is called? I have a SleepQProc...
    5. timers
      solution: http://portfolio.jumpout.co.uk/examples/director/timeout.zip "Sue" <slott@ix.netcom.com> wrote in message...
  3. #2

    Default Re: Timers in application web programming

    You need to output some regular HTML to force the open browser to refresh the
    page:

    <HTML>
    <HEAD>
    <META HTTP-EQUIV="refresh" content="2;URL=http://www.yoursite.com/newpage.htm">
    <TITLE>Page has moved</TITLE>
    </HEAD>
    <BODY>
    whatever you want to write
    </BODY>
    </HTML>


    <META HTTP-EQUIV="refresh" CONTENT="n; URL=http://foo.bar/">

    "This is a so-called "meta refresh", which on certain browsers causes the
    document mentioned in the URL to be loaded after n seconds. This can be used
    for slide shows or for often-changing information, but has some drawbacks. In
    particular, if you use a value of zero seconds, the user can no longer go
    "Back" with his back button. He will be transferred to the specified URL, and
    when he presses "back" there, he will go back to the document with the refresh,
    which immediately redirects him to the document he tried to get away from."


    "Stephen Inkpen" <sinkpen@cs.mun.ca> wrote in message
    news:76c844aa.0307151750.5f1486b6@posting.google.c om...
    I'm trying to get my page to automatically update a data table every
    10 seconds but using the System.Timer object doesn't seem to work.

    Anyone know how to get a web page to automatically get new data from
    the server on a regular interval?

    Thanks,

    Stephen Inkpen


    Ken Cox [Microsoft MVP] Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139