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 ASP forum as well the link will be in my next post.



Greetings, Harm Meijer
 
as this isn't a IIS question the asp forum is the place for answers

thread333-857253

There is no real need to cross post at TT it only ends up with your answers getting split up or confused.



Chris.

Indifference will be the downfall of mankind, but who cares?
 
How do you know this isn't an IIS question?



Greetings, Harm Meijer
 
if it was an IIS issue it wouldn't be working in either case!



Chris.

Indifference will be the downfall of mankind, but who cares?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top