PRB: ASP Does Not Provide Progress Notifications to Client Browsers

ID: Q243547


The information in this article applies to:
  • Active Server Pages, included with:
    • Microsoft Internet Information Server


SYMPTOMS

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.


CAUSE

ASP is constrained by HTTP, which is inherently stateless and does not provide a mechanism for callback notifications.


RESOLUTION

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.

Additional query words:

Keywords : kbASP kbGrpASP kbDSupport kbEventService
Version : winnt:
Platform : winnt
Issue type : kbprb


Last Reviewed: October 21, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.