none
POST data is not available for native handlers in IIS 7.0 RRS feed

  • Question

  • After calling request.Form.Get in a managed module in IIS 7, the native PHP handler hangs on reading the Form Data waiting for POST data. The issue is similar as presented here:  

    http://support.microsoft.com/kb/972541

    Is this KB simply out of date, as we are using .NET 4 to build our module?

    Friday, October 4, 2013 7:20 PM

Answers

  • We've discovered that the following delineates the root cause of the problem:

    [this behavior occurs when] A managed HTTP module reads some part of the entity body. For example, a module reads Request.Form or Request.Params. This causes the entity body of the POST request to be read into managed memory. As a result, the entity body is no longer available to any native code modules that are running in IIS 7 or IIS 7.5 Integrated mode. 

    http%3A%2F%2Fwww.asp.net%2Fwhitepapers%2Faspnet4%2Fbreaking-changes%230.1__Toc256770154&sa=D&sntz=1&usg=AFQjCNFzvAaVw9fHYA6hplF9Nk_PIsw2Dg


    Friday, October 4, 2013 7:35 PM