Re: [ADVANCED-DOTNET] IIS7, Application.PostRequestHandlerExecute and Mutex questions

2007-12-07 Thread Janis Braslins
After some research I can see that when PostRequestHandlerExecute fires, Context.Handler is often null while in IIS6 environment it's always the page that just finished processing. I suspect that Response.Redirect calls cause this behavior in IIS7 but not in IIS6. Since we do not want to synchroni

[ADVANCED-DOTNET] IIS7, Application.PostRequestHandlerExecute and Mutex questions

2007-12-07 Thread Janis Braslins
Our application had some issues when users would excessively click around the page without waiting for the page to post back. To prevent that from happening we used following approach. Please feel free to comment on validity of this technique in general: private void BaseApplication_PreRequestHand