Polling mechanism

M

Mike

Hi everyone,

I would like to be able to send updates to my web page from the server. If I understood correctly, this is not possible to achieve in a web environment, unless some sort of polling mechanism is used. I read a few articles and some of them suggest using some Javascript, while other suggest using Web Services. Some ways to achieve some kind of polling mechanism is on this document: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/scalenethowto08.asp

However, I am wondering what the best option would be for implementing a continuous polling mechanism that frequently updates the web page. What are the suggested options?

Thanks.
Mike
 
G

Guest

Take a look at either Anthem.NET or ATLAS. Anthem has a Timer control you can
use for this. I don't do much with ATLAS but I am sure it has something
similar.
ATLAS can be found at ASP.NET and Anthem.NET is on sourceforge.net
Pete
 
S

Steve C. Orr [MVP, MCSD]

The most common solution these days is AJAX.
Here's more info on implementing Ajax in ASP.NET 2.0
http://SteveOrr.net/articles/Ajax.aspx

If you want to go bleeding edge you could use Atlas:
http://atlas.asp.net

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net



Hi everyone,

I would like to be able to send updates to my web page from the server. If I understood correctly, this is not possible to achieve in a web environment, unless some sort of polling mechanism is used. I read a few articles and some of them suggest using some Javascript, while other suggest using Web Services. Some ways to achieve some kind of polling mechanism is on this document: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/scalenethowto08.asp

However, I am wondering what the best option would be for implementing a continuous polling mechanism that frequently updates the web page. What are the suggested options?

Thanks.
Mike
 
L

Laurent Bugnion

Hi,
Hi everyone,

I would like to be able to send updates to my web page from the server.
If I understood correctly, this is not possible to achieve in a web
environment, unless some sort of polling mechanism is used. I read a few
articles and some of them suggest using some Javascript, while other
suggest using Web Services. Some ways to achieve some kind of polling
mechanism is on this document:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/scalenethowto08.asp

However, I am wondering what the best option would be for implementing a
continuous polling mechanism that frequently updates the web page. What
are the suggested options?

Thanks.
Mike

Just to be complete and in addition to what others already said, note
that using Web services implies using JavaScript.

Greetings,
Laurent
 
N

neilmcguigan

technically, you _can_ send an "update" to the client from the server.

you'd need to use a java applet or flash control running on the client,
that you could send messages to from the server

flash control runs in browser
connects to web server, leaves channel open
web server sends a message to flash control when it wants
flash control raises some even that is handled in javascript
do stuff - such as update your grid
 

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

Members online

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top