PDA

Click to See Complete Forum and Search --> : Real time Update


Greg_S_H
May 24th, 2001, 07:32 PM
Hi all,

Anybody knows how can I update .asp file every second. Like stock quotes.

Thanks

monte96
May 24th, 2001, 08:06 PM
What you really want to do is get your data into an XML file or from a database that is being updated.. and have the page reload this data at times increments

JoshT
May 25th, 2001, 06:12 AM
Make sure the page won't be cached (Response.Expires = -1, etc.) then use a meta tag like this in the <HEAD> section.

<meta http-equiv="Refresh" content="1;url=screen1.asp">

sail3005
May 25th, 2001, 07:08 AM
Hmmm...It is gonna suck having the rage reload every second... Too bad you can't dynamically update an ASP page.

JoshT
May 25th, 2001, 07:18 AM
Keep the page simple. It works great on an intranet for near real-time monitoring of machinery, etc.

Greg_S_H
May 25th, 2001, 09:34 AM
Unfortunatly the page is not simple. There are 100 of points that I want to monitor and update on the internet. Meanwhile I have to calculate some other points using this realtime points.
I have no experience with XML, I believe that I can use XML with SQL Server 2000 but my database is MS Access 2000.

Thanks

JoshT
May 25th, 2001, 11:13 AM
If you're using ADO, you should be able to convert a recordset to XML regardless of the database you're using, but I also have little experience with XML.

Either way, the client is going to have to continually request the page or data from your server.