Hi all,
Anybody knows how can I update .asp file every second. Like stock quotes.
Thanks
Printable View
Hi all,
Anybody knows how can I update .asp file every second. Like stock quotes.
Thanks
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
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">
Hmmm...It is gonna suck having the rage reload every second... Too bad you can't dynamically update an ASP page.
Keep the page simple. It works great on an intranet for near real-time monitoring of machinery, etc.
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
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.