473,574 Members | 2,577 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1276
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******** *************@g 14g2000cwa.goog legroups.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******** *************@g 14g2000cwa.goog legroups.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
22270
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 looking read-only and a working calendar where each "day" is "<input name=$empidx$doy type=text size=1..." that allows a supervisor to edit V(aca),...
8
2000
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 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
10
14030
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 errors). The GROUP BY specifies a column that does exist in my db (and is also the only field that is select from the db). Where am I going wrong? ...
1
7242
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 : some times, I receive a javascript error "Invalid syntax on line xxx", this line contains the call to submit as shown in the following lines : ...
6
4809
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 Authentication set up and it worked just fine. Then I realized that I needed to have some pages unsecure. I then created 2 directories. One named Secure and...
1
1645
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); rs.setString(5, where); rs.setString(6, server); rs.setString(7, flag);
2
2046
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 application is not allowed. I am requesting help about this question. I found 2 article at KnowledgeBase, which are Article ID : 243953 (How to limit...
8
4084
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 below) but it does not work. The query shows nothing. If I use the actual word in the query instead of . it works fine..
3
4024
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 if this user has logined, this user didn't logout and just close IE, how do i set his recoed in the table logout? Thanks, -Billy
6
4770
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 form F2_Member_Issues records based on the combo box Issue_Code_T1. Option Group Issue_Type on main form: 1=Complaint 2=Grievance 3=Appeal
0
7807
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7730
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8058
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8241
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7820
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6456
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5301
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3753
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2249
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.