Ask a Question related to ASP.NET General, Design and Development.
-
Stephen Inkpen #1
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
-
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... -
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... -
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... -
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... -
timers
solution: http://portfolio.jumpout.co.uk/examples/director/timeout.zip "Sue" <slott@ix.netcom.com> wrote in message... -
Ken Cox [Microsoft MVP] #2
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



Reply With Quote

