« Previous Next »

Thread: ISAPI : What happens when user closes the browser ?

Last post 09-06-2008 3:53 PM by ksivasenthil. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 09-03-2008, 4:25 AM

    • CTAN
    • Not Ranked
    • Joined on 09-03-2008, 8:14 AM
    • Posts 1

    ISAPI : What happens when user closes the browser ?

    Hi,

    I am currently developping an ISAPI DLL.

    The application has to execute a query which is quite slow because of the Database size and then send a mail to the user. We don't want to make the user wait.

    I am not sure what is happening when the user closes the browser after the action has begun.

    Is the action continuing? or not?

    Basically, we want the user to click on a button, then send the query to the database, finally send a mail to the user when the work is done.

    If anyone has an idea, please let me know.

    Thanks

  • 09-06-2008, 3:53 PM In reply to

    • ksivasenthil
    • Not Ranked
    • Joined on 12-06-2006, 5:04 AM
    • Chennai, India
    • Posts 4

    Re: ISAPI : What happens when user closes the browser ?

    In IIS 6 the task will of querying the database and sending mail will typically be carried out by a thread. That is your browser acts as a triggering point for this thread. This thread will continue execution till it finishes and then exit. So, your query will be performed and the mail will be sent irrespective of the user whether he closes the browser window.

    Regards,
    Siva Senthil
Page 1 of 1 (2 items)
Microsoft Communities