|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi All,
I have made a messenger application fot my site in asp. To display the messages I am refreshing the display page every 5 sec. But I want some functionality where I can get the information as soon as a new message comes, so that instead of refreshing the page every 5 sec. I can refresh it only if some new message comes. Anybody having a solution to this problem in asp, please suggest me!! Thanks. Dipti |
|
#2
|
||||
|
||||
|
This isn't possible because of the way HTTP works (using standard methods at least). A constant connection is not maintained between the client and the server.
In order to achieve what you're after, you'll want to write a Java applet that maintains a constant connection, and can 'push' data to the user when an event occurs on the server. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > ASP Development > problem retrieving changes in data without refreshing the page |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|