Updating a web page from an application

  • Thread starter Thread starter Andrew Chalk
  • Start date Start date
A

Andrew Chalk

I want to have a web page that reports the real-time "status" of an
application. It must be updated with changes in status, which may occur as
frequently as once a second. What is the best way to model this in ASP? I
haven't dealt with web pages that reflect changes not insitgated by the ebd
user before.

Many thanks,

Andrew Chalk
 
I want to have a web page that reports the real-time "status" of an
application. It must be updated with changes in status, which may
occur as frequently as once a second. What is the best way to model
this in ASP? I haven't dealt with web pages that reflect changes not
insitgated by the ebd user before.


Take a look at:

Client Side Callbacks (ASP.NET 2.0 - works in IE only)
AJAX (Multi-Browser)
Javascript Remoting (Multi-Browser... older technology)
Dart Live Controls (Commercial Product)

However, you'll need to know some basic Javascript to do this sort of
thing.
 
Thanks for the fast response, Stan.

Does your first suggestion work in ASP.NET v1.1? Are the improvements in
v2.0, in regard to this problem, huge? I.e. I might think of moving my
fledgling application up to 2.0 on account of this?

Many thanks
 
the only way to do this with a browser is thru polling. the simplest
solution is an iframe with a meta refresh tag.

-- bruce (sqlwork.com)
 
Thanks for the fast response, Stan.

Does your first suggestion work in ASP.NET v1.1? Are the improvements in
v2.0, in regard to this problem, huge? I.e. I might think of moving my
fledgling application up to 2.0 on account of this?

Client-Side CallBacks are built into ASP.NET 2.0, but they only work with
IE.

The rest of the technologies I quoted work for 1.1 or 2.0.
 
Thanks. One more. Can you refer me to any tutorial/example URLs on
Javascript remoting?

Many thanks,

Andrew
 
Thanks. One more. Can you refer me to any tutorial/example URLs on
Javascript remoting?

Sure, here is the one I use:

http://www.thycotic.com

It used to be called Javascript Remoting, but the author has sinced renamed
it to AJAX Remote Scripting (I guess everyone is jumping on the AJAX
bandwagon) : )

Thycotic Software's AJAX client is based upon AshleyIT's Javascript
Remoting - which I think was the precursor to AJAX:

http://www.ashleyIT.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top