Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > HTML form post size limit

Reply
Thread Tools

HTML form post size limit

 
 
rounner@yahoo.com
Guest
Posts: n/a
 
      03-31-2006
Hello,

On some computers using IE, when submitting a form that does a post to
another web site with a bunch of hidden items, if the size of the items
is too large the form wont perform the action.

Ive tried to see what is different about the computers in question but
cant for the life of me find anything.

Could it be some sort of buffer overflow protection, or has anyone else
had this problem too?

Thanks

 
Reply With Quote
 
 
 
 
Brian Cryer
Guest
Posts: n/a
 
      03-31-2006
<> wrote in message
news: oups.com...
> Hello,
>
> On some computers using IE, when submitting a form that does a post to
> another web site with a bunch of hidden items, if the size of the items
> is too large the form wont perform the action.
>
> Ive tried to see what is different about the computers in question but
> cant for the life of me find anything.
>
> Could it be some sort of buffer overflow protection, or has anyone else
> had this problem too?
>
> Thanks


Its definitely a POST and not a GET? With "get" there is a limit to the
length of the url which would translate into hard limits for the amount of
data you can push across (2kb or more depending on the browser).

I've not heard of any limits regarding POST .... just checking ... take a
look at http://support.microsoft.com/kb/q208427/ this indicates a 2048
character limit for both post and get.

Hope this helps.
--
Brian Cryer
www.cryer.co.uk/brian


 
Reply With Quote
 
 
 
 
Benjamin Niemann
Guest
Posts: n/a
 
      03-31-2006
Brian Cryer wrote:

> <> wrote in message
> news: oups.com...
>> On some computers using IE, when submitting a form that does a post to
>> another web site with a bunch of hidden items, if the size of the items
>> is too large the form wont perform the action.
>>
>> Ive tried to see what is different about the computers in question but
>> cant for the life of me find anything.
>>
>> Could it be some sort of buffer overflow protection, or has anyone else
>> had this problem too?

>
> Its definitely a POST and not a GET? With "get" there is a limit to the
> length of the url which would translate into hard limits for the amount of
> data you can push across (2kb or more depending on the browser).
>
> I've not heard of any limits regarding POST .... just checking ... take a
> look at http://support.microsoft.com/kb/q208427/ this indicates a 2048
> character limit for both post and get.


This only applies to the URI in the FORMs ACTION attribute. There is no
limit (in the browser) for the FORM content when using the POST method (if
there is one, than its greater than 50MB - I often had to deal with file
uploads of such size without problems). The server-side code that handles
the code probably has a limit (the server-side code may decide to enforce
any kind of limitation, including obscure and confusing ones).

--
Benjamin Niemann
Email: pink at odahoda dot de
WWW: http://pink.odahoda.de/
 
Reply With Quote
 
Brian Cryer
Guest
Posts: n/a
 
      03-31-2006
"Benjamin Niemann" <> wrote in message
news:e0jh2c$bjf$...
> Brian Cryer wrote:
>
>> <> wrote in message
>> news: oups.com...
>>> On some computers using IE, when submitting a form that does a post to
>>> another web site with a bunch of hidden items, if the size of the items
>>> is too large the form wont perform the action.
>>>
>>> Ive tried to see what is different about the computers in question but
>>> cant for the life of me find anything.
>>>
>>> Could it be some sort of buffer overflow protection, or has anyone else
>>> had this problem too?

>>
>> Its definitely a POST and not a GET? With "get" there is a limit to the
>> length of the url which would translate into hard limits for the amount
>> of
>> data you can push across (2kb or more depending on the browser).
>>
>> I've not heard of any limits regarding POST .... just checking ... take a
>> look at http://support.microsoft.com/kb/q208427/ this indicates a 2048
>> character limit for both post and get.

>
> This only applies to the URI in the FORMs ACTION attribute. There is no
> limit (in the browser) for the FORM content when using the POST method (if
> there is one, than its greater than 50MB - I often had to deal with file
> uploads of such size without problems). The server-side code that handles
> the code probably has a limit (the server-side code may decide to enforce
> any kind of limitation, including obscure and confusing ones).


Yes, you are quite right. I should have read the KB article further.
--
Brian Cryer
www.cryer.co.uk/brian


 
Reply With Quote
 
rounner@yahoo.com
Guest
Posts: n/a
 
      04-02-2006
Thanks for the replies.

It appears that the post is being set to the default
application/x-www-form-urlencoded. The data is base64 so I'm not sure
if its appropriate or not. I'll try using ENCTYPE="multipart/form-data"
and see how it goes.

I'll update this thread when I've tested it.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Size limit for data being POST to a servlet DiscoStu Java 6 03-04-2009 10:22 AM
c program, file size limit, how to solve? 2G bytes limit. guru.slt@gmail.com C++ 1 06-27-2005 11:05 PM
Limit to size of POST in forms using javax.servlet.http.HttpServlet? news.amnet.net.au Java 1 09-15-2004 05:00 AM
Limit to size of POST in forms? news.amnet.net.au HTML 2 09-10-2004 05:11 PM
Limit to size of POST in forms news.amnet.net.au HTML 0 09-10-2004 07:46 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57