Help...chat like connection for web page...update on the fly

  • Thread starter Thread starter Jason Baldwin
  • Start date Start date
J

Jason Baldwin

Hello,
I am trying to create a web client that keeps a connection to the
server. Whenever the server updates information I want it to force
the client to update the information.

An example of this would be if I had a server that had play by play
information about a football game and the clients that connected to it
via the web browser would be the play by play info.

So, my question is...what is this called in C# .NET and where can I
find information about this??

thank you so much!
Jay
 
Jay,

There are two ways to do this in a web page. The first is to have the
page reload at a set interval, and have it see the updated results. The
second is to embed a control into IE, and have that control maintain a
persistent connection to the server. The second option is more difficult.
If you do it in .NET, you will have to make sure that the framework is
installed on every machine that will use this, and the security settings
allow the code to be executed. It might almost be easier to use an ActiveX
control.

Also, if you go the second route, you will have to define the protocol
which will dictate to the client when new information comes down the pipe.

Hope this helps.
 
Back
Top