Click here to Skip to main content
16,019,527 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

How can I configure my pages in asp.net?

When a user enters data in a field it affects all open pages (same one).

For example, it's just like chatrooms, you write a message, and post it, it will add to all open pages in the chat room.

What should I do?
Posted
Updated 17-Jul-11 2:58am
v2
Comments
Dalek Dave 17-Jul-11 8:58am    
Edited for Grammar, Syntax and Readability.

You can do it in one of a few ways.

1) Implementing a timer that refreshes your page (IFrame, not the whole page per se) would be one way to do this.
2) The other way would be to plug in a webservice that updates the page at regular interval.
3) Comet offers an extremely new way to keep multiple web pages updated. Start by reading ASP.NET and Comet: Bringing Sockets Back[^].
 
Share this answer
 
v2
Comments
Espen Harlinn 17-Jul-11 8:21am    
My 5, Comet is kind of nice - a bit heavy on the bandwidth, but what web related technology isn't :)
Abhinav S 17-Jul-11 8:49am    
Thank you. I actually find COMET is a very nice thing to explore.
Espen Harlinn 17-Jul-11 9:28am    
It is, as long as the traffic doesn't kill your network.

Some web-heads are so disconnected from what's going on under the hood that they fail to take things like that into account - but we don't see them here at CP, do we :)
thatraja 17-Jul-11 8:32am    
5!
Abhinav S 17-Jul-11 8:49am    
Thanks.
Here is a fairly simple solution:
ASP.NET Ajax Chat Application[^]

Best regards
Espen Harlinn
 
Share this answer
 
Comments
Abhinav S 17-Jul-11 8:17am    
Good link.
Espen Harlinn 17-Jul-11 8:20am    
Thank you, Abhinav :)
thatraja 17-Jul-11 8:32am    
5!
Espen Harlinn 17-Jul-11 8:36am    
Thank you, thatraja :)
Dalek Dave 17-Jul-11 8:58am    
Good Call.
thanks i think , i got what i want :D
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900