When using multipart/form-data, the data that's posted from the browser up
to the webapp WILL be larger. It might even be larger by a significant
percentage (2x? 5x? 10x?). In my opinion, however, I don't think sending 200
bytes instead of 20 bytes will be "significant". If you want to see exactly
what the differences are, hook up a network monitor and watch the post.
There is also additional processing required on the server to parse the
multipart data, but again, it's not what I would consider "significant".

--DanR

-----Original Message-----
From: Gary VanMatre [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 09, 2004 10:22 AM
To: [EMAIL PROTECTED]
Subject: Seeking multipart-form advise 


We are working on an application that has several pages that require file
upload capabilities.  Currently, our main tiles layout contains our html
form tag and we are considering adding the enctype="multipart/form-data"
attribute to the form tag in our main layout but we are uncertain as to the
overhead/cost of doing this.  
 
Is there a significant cost associated with making all forms multipart in
your web application?  Any experiences or insights would be greatly
appreciated.
 
Gary
 

Reply via email to