Is there a limit with forms POSTing?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Randell D.

    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
  • Matthew Lock

    #2
    Re: Is there a limit with forms POSTing?

    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.

    Comment

    • Brent Palmer

      #3
      Re: Is there a limit with forms POSTing?

      Because of the variable limits you might be better off using session vars
      for storing info.
      Brent Palmer.



      "Matthew Lock" <lockster@gmail .com> wrote in message
      news:1110534047 .000026.96790@g 14g2000cwa.goog legroups.com...[color=blue]
      > 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.
      >[/color]


      Comment

      • Duncan Booth

        #4
        Re: Is there a limit with forms POSTing?

        Randell D. wrote:
        [color=blue]
        >
        > 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.
        >[/color]

        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:


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

        Comment

        • John Dunlop

          #5
          Re: Is there a limit with forms POSTing?

          Randell D. wrote:
          [color=blue]
          > 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.[/color]

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

          --
          Jock

          Comment

          • bruce_brodinsky@glic.com

            #6
            Re: Is there a limit with forms POSTing?

            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.

            Comment

            • Randell D.

              #7
              Re: Is there a limit with forms POSTing?

              Brent Palmer wrote:[color=blue]
              > Because of the variable limits you might be better off using session vars
              > for storing info.
              > Brent Palmer.
              >
              >
              >
              > "Matthew Lock" <lockster@gmail .com> wrote in message
              > news:1110534047 .000026.96790@g 14g2000cwa.goog legroups.com...
              >[color=green]
              >>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.
              >>[/color]
              >
              >
              >[/color]

              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...

              Comment

              • Randell D.

                #8
                Re: Is there a limit with forms POSTing?

                Duncan Booth wrote:
                [color=blue]
                > Randell D. wrote:
                >
                >[color=green]
                >>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.
                >>[/color]
                >
                >
                > 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.
                >[/color]

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

                Randell D.

                Comment

                • Randell D.

                  #9
                  Re: Is there a limit with forms POSTing?

                  bruce_brodinsky @glic.com wrote:
                  [color=blue]
                  > 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.
                  >[/color]

                  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

                  Comment

                  Working...