Active Server Pages (ASP) does not provide a mechanism for notifying browser clients of progress while a long running task is executed on the server.
Back to the top
ASP is constrained by HTTP, which is inherently stateless and does not provide a mechanism for callback notifications.
Back to the top
Because ASP is executed procedurally and synchronously, avoid calling long-running methods or components that perform extensive work, directly from your ASP pages. Calling long-running methods or components negatively impacts performance and scalability of your Web server.
A common scalable solution is to hand off the request to Message Queue Server (MSMQ) and provide e-mail notifications to the client. In this scenario, the ASP page immediately returns a response to the client indicating success or failure and that the user will be notified by e-mail when processing is complete.
Back to the top