|
it
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How do you view POST headers?
What I want to see is all information related to a POSTed file and it's attributes, sort of like this: POST /file.asp?var=value HTTP/1.0 Host: www.domain.com:80 Connection: Keep-Alive Content-Type: multipart/form-data; boundary=xxxxx Content-Description: form-data-1 Content-Disposition: inline; filename=file.txt Content Length:1221 [Property File] This is the text of this file. This is the text of this file. This is the text of this file. This is the text of this file. This is the text of this file. This is the text of this file. -- [ Sugapablo ] [ http://www.sugapablo.com <--music ] [ http://www.sugapablo.net <--personal ] [ sugapa***@12jabber.com <--jabber IM ] for each i in Request.ServerVariables
if i <> "ALL_HTTP" Then Response.Write i & ":" Response.Write Request.ServerVariables(i) & "<br>" & vbcrlf end if next See if the results contain the information you need. Show quote "Sugapablo" <r***@REMOVEsugapablo.com> wrote in message news:pan.2005.03.18.19.48.38.408548@REMOVEsugapablo.com... > How do I display all of the POST headers in ASP. > > What I want to see is all information related to a POSTed file and it's > attributes, sort of like this: > > POST /file.asp?var=value HTTP/1.0 > Host: www.domain.com:80 > Connection: Keep-Alive > Content-Type: multipart/form-data; boundary=xxxxx > Content-Description: form-data-1 > Content-Disposition: inline; filename=file.txt > Content Length:1221 > > [Property File] > This is the text of this file. > This is the text of this file. > This is the text of this file. > This is the text of this file. > This is the text of this file. > This is the text of this file. > > > > -- > [ Sugapablo ] > [ http://www.sugapablo.com <--music ] > [ http://www.sugapablo.net <--personal ] > [ sugapa***@12jabber.com <--jabber IM ] > On Fri, 18 Mar 2005 14:39:57 -0800, Mark Schupp wrote:
> for each i in Request.ServerVariables Neither ALL_HTTP nor ALL_RAW have the POST data.> if i <> "ALL_HTTP" Then > Response.Write i & ":" > Response.Write Request.ServerVariables(i) & "<br>" & vbcrlf > end if > next -- [ Sugapablo ] [ http://www.sugapablo.com <--music ] [ http://www.sugapablo.net <--personal ] [ sugapa***@12jabber.com <--jabber IM ] |
|||||||||||||||||||||||