473,396 Members | 1,858 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,396 software developers and data experts.

Is there a limit with forms POSTing?


Folks,

Sorry for the cross post into multiple newsgroups on this, but html
forms processing is supported across all three groups so I was hoping
someone might know.

I did a check with Google and found dated 1996 and 1997... This is a bit
too old for me to rely on...

Thus... Does anyone know if there is a limit when POSTing? I think a
FORM METHOD of GET has a standards limit of 1024 though most browsers
ignore this limit... However I can't recall a limit when posting data.

Thanks... Replies please via the newsgroup so all can learn...

randelld
Jul 23 '05 #1
8 1256
Servers can be configured to have limits on http posts. But they vary
from server to server. Typically it's quite a bit more than get though.

Jul 23 '05 #2
Because of the variable limits you might be better off using session vars
for storing info.
Brent Palmer.

"Matthew Lock" <lo******@gmail.com> wrote in message
news:11*********************@g14g2000cwa.googlegro ups.com...
Servers can be configured to have limits on http posts. But they vary
from server to server. Typically it's quite a bit more than get though.

Jul 23 '05 #3
Randell D. wrote:

Thus... Does anyone know if there is a limit when POSTing? I think a
FORM METHOD of GET has a standards limit of 1024 though most browsers
ignore this limit... However I can't recall a limit when posting data.


No official limit, although you the server will probably impose limits on
the size it is willing to accept. Both Apache and IIS have configuration
parameters which can be used to limit the maximum size of a request.

It is a good idea to set a maximum size on your server to prevent DoS
attacks attempting to upload multi-gigabyte files (unless you actually need
to upload very large files!)

See:
http://httpd.apache.org/docs/mod/cor...mitrequestbody

for relevant Apache directives on maximum request size and also limits on
the number and size of fields.

Jul 23 '05 #4
Randell D. wrote:
Thus... Does anyone know if there is a limit when POSTing? I think a
FORM METHOD of GET has a standards limit of 1024 though most browsers
ignore this limit... However I can't recall a limit when posting data.


Neither POST nor GET is limited by the spec, but there are
implementation-specific limits for both.

--
Jock
Jul 23 '05 #5
Theoretically, there's no limit, but I most definitely encountered a
limit at my shop. And it wasn't even that large of a limit, it
surprised me. I forget the numbers though. I guess this limit is
necessary to discourage hackers.

Jul 23 '05 #6
Brent Palmer wrote:
Because of the variable limits you might be better off using session vars
for storing info.
Brent Palmer.

"Matthew Lock" <lo******@gmail.com> wrote in message
news:11*********************@g14g2000cwa.googlegro ups.com...
Servers can be configured to have limits on http posts. But they vary
from server to server. Typically it's quite a bit more than get though.



You've made an incorrect assumption... I'm not storing info - I'm
posting what could be a rather large <TEXTAREA> value - a few thousand
characters... perhaps (but unlikely) to hit the hundred thousand
characters... Its a one way transaction...

Thanks for replying...
Jul 23 '05 #7
Duncan Booth wrote:
Randell D. wrote:

Thus... Does anyone know if there is a limit when POSTing? I think a
FORM METHOD of GET has a standards limit of 1024 though most browsers
ignore this limit... However I can't recall a limit when posting data.

No official limit, although you the server will probably impose limits on
the size it is willing to accept. Both Apache and IIS have configuration
parameters which can be used to limit the maximum size of a request.

It is a good idea to set a maximum size on your server to prevent DoS
attacks attempting to upload multi-gigabyte files (unless you actually need
to upload very large files!)

See:
http://httpd.apache.org/docs/mod/cor...mitrequestbody

for relevant Apache directives on maximum request size and also limits on
the number and size of fields.


Thanks - this is just the info I needed...

Randell D.
Jul 23 '05 #8
br*************@glic.com wrote:
Theoretically, there's no limit, but I most definitely encountered a
limit at my shop. And it wasn't even that large of a limit, it
surprised me. I forget the numbers though. I guess this limit is
necessary to discourage hackers.


Thanks - its my own server - its also an intranet based application -
Another ng reply tells me that there is a parameter that one can use
within Apache to create this limit - I will probably use it,but
configure it within my guesstimated limits...

thanks for the reply
randelld
Jul 23 '05 #9

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

Similar topics

1
by: Cal Lidderdale | last post by:
I've built a OutOfOffice calendar in PHP. Each month is a standalone table, the first column being the person's name. Then N cells, one for each day of the month. And I have 2 Calendars: a nice...
8
by: Randell D. | last post by:
Folks, Sorry for the cross post into multiple newsgroups on this, but html forms processing is supported across all three groups so I was hoping someone might know. I did a check with Google...
10
by: Randell D. | last post by:
Folks, I have a SELECT that returns with multiple records - It works when I have a LIMIT clause but when I try to include a GROUP BY clause, the select returns nothing (ie no records, no...
1
by: Gerard Cany | last post by:
I have a problem with a javascript that seems related to the number/size of parameters sent by the form The method for the form is POST (not GET, I know the size limit with GET) The symptom :...
6
by: Billy Jacobs | last post by:
I have a website which has both secure and non-secure pages. I want to uses forms authentication. How do I accomplish this? Originally I had my web.config file in the root with Forms...
1
by: Erik Brown | last post by:
sql = "CALL " + myschema + ".MYSPROC(?,?,?,?,?,?,?,?,?)"; rs = con.prepareCall(sql); rs.setString(1, user); rs.setString(2, action); rs.setString(3, versions); rs.setString(4, spec);...
2
by: Alper AKCAYOZ | last post by:
Hello, I have developped an application used by Windows Forms (.NET) at Visual C++ ..NET v2003. I would like to limit my application to one instance working at a moment. More than one working...
8
by: ShyGuy | last post by:
I have two combo boxes that get their values from two different tables. I want to limit the choices in the second combo box by what is selected in the first. I tried using SelText (code...
3
by: =?Utf-8?B?QmlsbHkgWmhhbmc=?= | last post by:
I want to limit the user only login the system one time at the same time. I don't want him login the system two with the same user at the same time. How to do this? If i have a table to record...
6
by: BEETHOVEN | last post by:
I have an option group called Issue_Type on my main form F1_Member_Demographics_Main. When I select one of the 3 options on the main form from the option group Issue_Type I want to limit the sub...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.