473,406 Members | 2,619 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

ENCTYPE="Multipart/Form-Data" Any Drawbacks?

Hi all,

I'm using ASP MasterPages for my templates. As such, I have a couple of
pages which are for file uploads.

Is there any drawbacks in making all my forms of type:
ENCTYPE="Multipart/Form-Data"?

Will this cause resource or security issues?

Thanks.

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 18 '05 #1
2 2252
No. It causes the form data to be sent in both binary and text format, in
order to upload a file.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Lucas Tam" <RE********@rogers.com> wrote in message
news:Xn***************************@140.99.99.130.. .
Hi all,

I'm using ASP MasterPages for my templates. As such, I have a couple of
pages which are for file uploads.

Is there any drawbacks in making all my forms of type:
ENCTYPE="Multipart/Form-Data"?

Will this cause resource or security issues?

Thanks.

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/

Nov 18 '05 #2
the payload will be much higher.

for two fields, instead of :

f1=value1&f2=value2

the payload will look like:

-----------------------------7d44bc1306d0
Content-Disposition: form-data; name="f1"

value1

-----------------------------7d44bc1306d0
Content-Disposition: form-data; name="f2"

value2
-----------------------------7d44bc1306d0

as the number of fields goes up, the more the cost.

-- bruce (sqlwork.com)

"Lucas Tam" <RE********@rogers.com> wrote in message
news:Xn***************************@140.99.99.130.. .
Hi all,

I'm using ASP MasterPages for my templates. As such, I have a couple of
pages which are for file uploads.

Is there any drawbacks in making all my forms of type:
ENCTYPE="Multipart/Form-Data"?

Will this cause resource or security issues?

Thanks.

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: John Oliver | last post by:
I'd like the email produced by FormMail to show a specific From: address rather than postmaster@server.host.name Googling isn't helping me... not sure what to look for :-( -- * John Oliver ...
4
by: LinuxNT | last post by:
Good mornin' colleagues! I have a problem with a javascript code. I attempt to program a mini application with javascript. This application is part of a frameset. I select three fields in this...
1
by: Lars Netzel | last post by:
I have an aspx page that contains a usercontrol as header on all pages. That usercontrol has a few linkbuttons... sometimes when I press either of them I get this message in the top of the screen...
13
by: Noa | last post by:
Hi I have a page that looks like that: <form name="kuku1" action ="anotherpage.html" > <input name="name"> <input name="kuku2"> </form> As far as i know, "getAttribute" should return a...
13
by: kurtj | last post by:
Hello Gurus: I have a validation script (below) that is somehow messed up. If the Name field is blank, I get the alert message, then the browser window goes to a blank document with the word...
3
by: rkhurana | last post by:
Hi I am writing a JSF application that uses some third party charts. While I can see the chart but the javascript that is supposed to calla function to update chart periodically has a problem. It...
5
by: pilsdumps | last post by:
I have a parent and child class: parent: #!/usr/local/bin/perl -w #class clFormMaker package clFormMaker; sub new { #constructor
0
by: daryl | last post by:
<code> <body> <h1>Reverse String</h1><hr /> <?php $ReverseString = $_GET; if (!isset($_GET)) echo "<p>Enter the string you want to reverse.</p>"; else{ $ForwardString = $$_GET; ...
6
by: daryl | last post by:
Howdy, just wondering if someone can help me get this form working. Everything is right, I think, except for the autoglobal. <body> <h1>Reverse String</h1><hr /> <?php $ReverseString =...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.