Search
Home IIS.NET Forums IIS 7 & IIS 8 Extensibility Getting content-length
Last post Mar 06, 2013 08:53 AM by molly_c
11 Posts
Mar 05, 2013 06:53 AM|LINK
In ISAPI filter we call
lpEcb->cbTotalBytes to get the content length from HttpExtensionProc() where lpEcb is
LPEXTENSION_CONTROL_BLOCK.
How can I achieve the same from modules (native C++ based)
Calling the header "Content-Length" from OnExecuteRequestHandler() did not work.
Regards,
George
124 Posts
Mar 06, 2013 08:53 AM|LINK
Hi,
Im not quiet sure I understand what you means, You wanna to use code to get Content-length?
If yes, use the code in below link.
http://stackoverflow.com/questions/483979/iis-7-managed-module-cant-get-content-length-or-bytes-sent
George_Thoma...
11 Posts
Getting content-length
Mar 05, 2013 06:53 AM|LINK
In ISAPI filter we call
lpEcb->cbTotalBytes to get the content length from HttpExtensionProc() where lpEcb is
LPEXTENSION_CONTROL_BLOCK.
How can I achieve the same from modules (native C++ based)
Calling the header "Content-Length" from OnExecuteRequestHandler() did not work.
Regards,
George
molly_c
124 Posts
Re: Getting content-length
Mar 06, 2013 08:53 AM|LINK
Hi,
Im not quiet sure I understand what you means, You wanna to use code to get Content-length?
If yes, use the code in below link.
http://stackoverflow.com/questions/483979/iis-7-managed-module-cant-get-content-length-or-bytes-sent
Molly
It's time to start living the life you are imagined.