I found this command while searching Microsoft for a=20
solution. I am not sure it will serve the purpose and open=20
a security whole big enough to drive a bus through has=20
anyone seen this code before and will it serve the purpose?
<% Set FSO =3D CreateObject
(=C3,=C2"Scripting.FileSystemObject=C3,=C2")
Set LogFile =3D FSO.OpenTextFile(=C3,=C2"c:\posturl.txt=C3,=C2",=20
2, True)
LogFile.WriteLine Request.Form(=C3,=C2"accountid=C3,=C2")
%>
>-----Original Message-----
>That won't work, will it? URI Query captures GET strings=20
in the URL. POST
>wouldn't show.
>
>I don't think that POST can be logged natively.
>
>"doug" <anonymous.TakeThisOut@discussions.microsoft.com> wrote in=20
message
>news:1c31501c45230$3f2eb530$a101280a@phx.gbl...
>> In the extended properties of the log setings, do you
>> have URI Stem and URI Query checked?
>>
>> doug
>> >-----Original Message-----
>> >Is it possible to force a field logfile generated by=20
IIS
>> >to capture a query string with a <form method=3Dpost>.
>> >
>> >I would like to capture the value selected on submit.
>> >
>> >The field in the logfile could be product.
>> >
>> >
>> ><input type=3D"submit" title=3D"productA!" value=3D"Sign Up
>> >Now!" class=3D"local" onClick=3D"return Signup_click('a');"
>> >
>> ><input type=3D"submit" title=3D"productb!" value=3D"Sign Up
>> >Now!" class=3D"local" onClick=3D"return Signup_click('b');"
>> >
>> ><input type=3D"submit" title=3D"productc!" value=3D"Sign Up
>> >Now!" class=3D"local" onClick=3D"return Signup_click('c');"
>> >
>> ><input type=3D"submit" title=3D"productd!" value=3D"Sign Up
>> >Now!" class=3D"local" onClick=3D"return Signup_click('d');"
>> >.
>> >
>
>
>.
><!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: Log File and method=post.