Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Log File and method=post.

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  Referrer Blocking? Remote Image Blocking?  
Author Message
anonymous2110

External


Since: Jun 14, 2004
Posts: 2



(Msg. 1) Posted: Mon Jun 14, 2004 12:38 pm
Post subject: Log File and method=post.
Archived from groups: microsoft>public>inetserver>iis (more info?)

Is it possible to force a field logfile generated by IIS
to capture a query string with a <form method=post>.

I would like to capture the value selected on submit.

The field in the logfile could be product.


<input type="submit" title="productA!" value="Sign Up
Now!" class="local" onClick="return Signup_click('a');"

<input type="submit" title="productb!" value="Sign Up
Now!" class="local" onClick="return Signup_click('b');"

<input type="submit" title="productc!" value="Sign Up
Now!" class="local" onClick="return Signup_click('c');"

<input type="submit" title="productd!" value="Sign Up
Now!" class="local" onClick="return Signup_click('d');"

 >> Stay informed about: Log File and method=post. 
Back to top
Login to vote
anonymous131

External


Since: Oct 17, 2003
Posts: 720



(Msg. 2) Posted: Mon Jun 14, 2004 12:54 pm
Post subject: Log File and method=post. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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 IIS
 >to capture a query string with a <form method=post>.
 >
 >I would like to capture the value selected on submit.
 >
 >The field in the logfile could be product.
 >
 >
 ><input type="submit" title="productA!" value="Sign Up
 >Now!" class="local" onClick="return Signup_click('a');"
 >
 ><input type="submit" title="productb!" value="Sign Up
 >Now!" class="local" onClick="return Signup_click('b');"
 >
 ><input type="submit" title="productc!" value="Sign Up
 >Now!" class="local" onClick="return Signup_click('c');"
 >
 ><input type="submit" title="productd!" value="Sign Up
 >Now!" class="local" onClick="return Signup_click('d');"
 >.
 ><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Log File and method=post. 
Back to top
Login to vote
anonymous2110

External


Since: Jun 14, 2004
Posts: 2



(Msg. 3) Posted: Mon Jun 14, 2004 2:04 pm
Post subject: Log File and method=post. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Both fields are turned on.


 >-----Original Message-----
 >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 IIS
  >>to capture a query string with a <form method=post>.
  >>
  >>I would like to capture the value selected on submit.
  >>
  >>The field in the logfile could be product.
  >>
  >>
  >><input type="submit" title="productA!" value="Sign Up
  >>Now!" class="local" onClick="return Signup_click('a');"
  >>
  >><input type="submit" title="productb!" value="Sign Up
  >>Now!" class="local" onClick="return Signup_click('b');"
  >>
  >><input type="submit" title="productc!" value="Sign Up
  >>Now!" class="local" onClick="return Signup_click('c');"
  >>
  >><input type="submit" title="productd!" value="Sign Up
  >>Now!" class="local" onClick="return Signup_click('d');"
  >>.
  >>
 >.
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Log File and method=post. 
Back to top
Login to vote
user164

External


Since: Aug 01, 2003
Posts: 172



(Msg. 4) Posted: Mon Jun 14, 2004 5:12 pm
Post subject: Re: Log File and method=post. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

That won't work, will it? URI Query captures GET strings in the URL. POST
wouldn't show.

I don't think that POST can be logged natively.

"doug" <anonymous RemoveThis @discussions.microsoft.com> wrote in 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 IIS
  > >to capture a query string with a <form method=post>.
  > >
  > >I would like to capture the value selected on submit.
  > >
  > >The field in the logfile could be product.
  > >
  > >
  > ><input type="submit" title="productA!" value="Sign Up
  > >Now!" class="local" onClick="return Signup_click('a');"
  > >
  > ><input type="submit" title="productb!" value="Sign Up
  > >Now!" class="local" onClick="return Signup_click('b');"
  > >
  > ><input type="submit" title="productc!" value="Sign Up
  > >Now!" class="local" onClick="return Signup_click('c');"
  > >
  > ><input type="submit" title="productd!" value="Sign Up
  > >Now!" class="local" onClick="return Signup_click('d');"
  > >.
  > ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Log File and method=post. 
Back to top
Login to vote
anonymous77

External


Since: Oct 14, 2003
Posts: 468



(Msg. 5) Posted: Mon Jun 14, 2004 5:12 pm
Post subject: Re: Log File and method=post. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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. 
Back to top
Login to vote
anonymous131

External


Since: Oct 17, 2003
Posts: 720



(Msg. 6) Posted: Mon Jun 14, 2004 5:12 pm
Post subject: Re: Log File and method=post. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I wasn't sure it would add anything, I was just making
sure they were on...

But I agree, I don't think IIS can do this without a 3rd
party app or some scripting.

doug
 >-----Original Message-----
 >That won't work, will it? URI Query captures GET
strings in the URL. POST
 >wouldn't show.
 >
 >I don't think that POST can be logged natively.
 >
 >"doug" <anonymous DeleteThis @discussions.microsoft.com> wrote in
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
IIS
   >> >to capture a query string with a <form method=post>.
   >> >
   >> >I would like to capture the value selected on submit.
   >> >
   >> >The field in the logfile could be product.
   >> >
   >> >
   >> ><input type="submit" title="productA!" value="Sign Up
   >> >Now!" class="local" onClick="return Signup_click
('a');"
   >> >
   >> ><input type="submit" title="productb!" value="Sign Up
   >> >Now!" class="local" onClick="return Signup_click
('b');"
   >> >
   >> ><input type="submit" title="productc!" value="Sign Up
   >> >Now!" class="local" onClick="return Signup_click
('c');"
   >> >
   >> ><input type="submit" title="productd!" value="Sign Up
   >> >Now!" class="local" onClick="return Signup_click
('d');"
   >> >.
   >> >
 >
 >
 >.
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Log File and method=post. 
Back to top
Login to vote
user164

External


Since: Aug 01, 2003
Posts: 172



(Msg. 7) Posted: Mon Jun 14, 2004 5:13 pm
Post subject: Re: Log File and method=post. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I don't think you can do this natively. You can, however, include an ASP
script that captures any POST data and logs to a file.
 >> Stay informed about: Log File and method=post. 
Back to top
Login to vote
user1772

External


Since: Jun 10, 2004
Posts: 1807



(Msg. 8) Posted: Mon Jun 14, 2004 11:14 pm
Post subject: Re: Log File and method=post. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Mon, 14 Jun 2004 14:12:53 -0400, "Keith W. McCammon" <km RemoveThis @km.com>
wrote:

 >That won't work, will it? URI Query captures GET strings in the URL. POST
 >wouldn't show.
 >
 >I don't think that POST can be logged natively.

You'd have to add code to write a log file as or before the request is
POSTed, and best is to a separate log file. It may be possible to
write to the IIS log file but it would cause problems for analysis
software.

Otherwise, an ISAPI filter could possibly do this as well.

Jeff

 >"doug" <anonymous RemoveThis @discussions.microsoft.com> wrote in 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 IIS
   >> >to capture a query string with a <form method=post>.
   >> >
   >> >I would like to capture the value selected on submit.
   >> >
   >> >The field in the logfile could be product.
   >> >
   >> >
   >> ><input type="submit" title="productA!" value="Sign Up
   >> >Now!" class="local" onClick="return Signup_click('a');"
   >> >
   >> ><input type="submit" title="productb!" value="Sign Up
   >> >Now!" class="local" onClick="return Signup_click('b');"
   >> >
   >> ><input type="submit" title="productc!" value="Sign Up
   >> >Now!" class="local" onClick="return Signup_click('c');"
   >> >
   >> ><input type="submit" title="productd!" value="Sign Up
   >> >Now!" class="local" onClick="return Signup_click('d');"
   >> >.
   >> >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Log File and method=post. 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]