Select the product you need help with
How To Handle POST Requests in a Pluggable Protocol HandlerArticle ID: 280522 - View products that this article applies to. This article was previously published under Q280522 Summary
It is sometimes desirable to have a pluggable protocol as the target of FORM POST requests. This article outlines how to handle POST requests in an asynchronous pluggable protocol handler (APPH).
More information
The APPH receives the POST data (by way of URLMON) from the client as part of the BINDINFO structure, as described in the following article in the Microsoft Knowledge Base:
165800
In addition, the MIME type of the POST data can be retrieved by means of the IInternetBindInfo::GetBindString method with a first parameter of BINDSTRING_POST_DATA_MIME.
(http://support.microsoft.com/kb/165800/EN-US/
)
PostMon.exe Demonstrates How to Use URL Moniker to POST Data
With this background information, you can use the following code to obtain the POST data from within an APPH's IInternetProtocol::Start() method: References
For additional information, see the following articles on the Microsoft Developer Network:
Asynchronous Pluggable Protocols Overview For more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:http://msdn2.microsoft.com/en-us/library/Aa767916.aspx
(http://msdn2.microsoft.com/en-us/library/Aa767916.aspx)
http://msdn.microsoft.com/ie/
(http://msdn.microsoft.com/ie/)
http://support.microsoft.com/iep
(http://support.microsoft.com/iep)
PropertiesArticle ID: 280522 - Last Review: November 16, 2012 - Revision: 4.0
|



Back to the top








