By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,625 Members | 1,716 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,625 IT Pros & Developers. It's quick & easy.

Is there a limit with forms POSTing?

P: n/a

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
Share this Question
Share on Google+
8 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.