Refresh
-
Hi, Thank for your response.Let me explain it a bit further Say i have a server process which listens for some changes in database. When a change occurs i want to refresh my page in browser by notyfinig it. I do not want to refresh my page i.e. every 5 seconds, i just want to refresh it ONLY on server change just like desktop applications do. The problem is that refreshing evry n seconds has to much impact on my web server. The refresh action should be taken only when something really happens that makes sense Is it possible ?
-
Hi, Thank for your response.Let me explain it a bit further Say i have a server process which listens for some changes in database. When a change occurs i want to refresh my page in browser by notyfinig it. I do not want to refresh my page i.e. every 5 seconds, i just want to refresh it ONLY on server change just like desktop applications do. The problem is that refreshing evry n seconds has to much impact on my web server. The refresh action should be taken only when something really happens that makes sense Is it possible ?
kibromg wrote:
Thank for your response.Let me explain it a bit further
What response? This is your first post in the thread.
kibromg wrote:
I do not want to refresh my page i.e. every 5 seconds, i just want to refresh it ONLY on server change just like desktop applications do.
I don't think this is possible. Web applications aren't the same as desktop applications. You're going to have to poll the server periodically to refresh the page. A good compromise would be to employ caching in your ASP.NET pages so that your pages aren't being built from scratch every time you hit the server.
Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush