Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multipart form data lozing data

Status
Not open for further replies.

harmmeijer

Programmer
Mar 1, 2001
869
CN
When I browse around my localhost and then open a html file on my destop that submits multipart form data to an asp file in the scripts directory I get a content length of 0 (all information on the form is gone).

here is the test.htm that is on my desktop
Code:
<form  method=post enctype="multipart/form-data" action="[URL unfurl="true"]http://localhost/scripts/test.asp">[/URL]
<input type="text" value="hello there" name="ehllo">
<input type="submit">
</form>

test.asp file in the scripts folder
Code:
<%
response.write(Request.TotalBytes)
%>


The thing is that when I open the test.htm file directly from my desktop and submit the content length is not 0.

Does anyone know what's going on here?

I have posted this in the IIS forum as well the link will be in my next post.



Greetings, Harm Meijer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top