How to log POSTed forms submissions?

Posted by justSteve on Stack Overflow See other posts from Stack Overflow or by justSteve
Published on 2010-05-05T22:36:51Z Indexed on 2010/05/06 1:18 UTC
Read the original article Hit count: 204

Filed under:
|

Back in the ASP classic days when i needed to write out the name/value pairs of forms submitted by POST i thru this loop into the page:

on error resume next for each x in Request.Form Response.AppendToLog x & "=" & Request(x) next

It threw all the form fields and values into the log just as GETs are. Does IIS7 .net give me any better method? (this is for the dev/testing portion of the project i don't have any concern about the space or cycles used to accomplish this).

thx

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about iis7