Help with php POST form submit/resubmit

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • dennis.mcknight@gmail.com

    Help with php POST form submit/resubmit

    I've created a simple guestbook and register user page, however when
    they are used and then re used quickly after, php doesn't seem to be
    getting the POST info again.

    For instance, if a user posts a message in the guestbook and then
    immediately posts another message, the 2nd POST is not working if it
    happens in under about 10 seconds (is my best estimate). So my
    question is: is there some type of timeout or variable that is
    preventing PHP from immediately reposting? I don't see anything about
    this online and i'm wondering why it's happening to me and is
    consistently about a 10 second wait before it works again.

    Thanks guys!

  • Rik

    #2
    Re: Help with php POST form submit/resubmit

    dennis.mcknight @gmail.com wrote:
    I've created a simple guestbook and register user page, however when
    they are used and then re used quickly after, php doesn't seem to be
    getting the POST info again.
    >
    For instance, if a user posts a message in the guestbook and then
    immediately posts another message, the 2nd POST is not working if it
    happens in under about 10 seconds (is my best estimate). So my
    question is: is there some type of timeout or variable that is
    preventing PHP from immediately reposting?
    No, there isn't. If your connecting is good enough, you could post a hundred
    or more times a second. It might be a server configuration though, or if
    you've used already existing code, a safety time-out to prevent all too fast
    spamming.
    I don't see anything about
    this online and i'm wondering why it's happening to me and is
    consistently about a 10 second wait before it works again.
    Perhaps a caching issue, hard to say without access to your code.

    Grtz,
    --
    Rik Wasmus


    Comment

    • dennis.mcknight@gmail.com

      #3
      Re: Help with php POST form submit/resubmit

      i'm hosting the site at the free service agigforfree.com -- so maybe
      they have something set up. i'm not expereicned enough in PHP to
      figure a way around it (or to even verify that). i was hoping it was
      something I could fix on my end though.

      thanks!

      Comment

      • Rik

        #4
        Re: Help with php POST form submit/resubmit

        dennis.mcknight @gmail.com wrote:
        i'm hosting the site at the free service agigforfree.com -- so maybe
        they have something set up. i'm not expereicned enough in PHP to
        figure a way around it (or to even verify that). i was hoping it was
        something I could fix on my end though.
        Well you could do some checking:
        1. Echo a random string on the page you go to on the submit. If it's the
        same after the second submit, it's a caching issue.
        2. print_r($_POST) on the page, do the values arrive correctly?
        3. you could use CURL for some testing to see wether this is a user/browser
        issue or a server issue. That will take some writing though.

        Grtz,
        --
        Rik Wasmus


        Comment

        • ZafT

          #5
          Re: Help with php POST form submit/resubmit


          <dennis.mcknigh t@gmail.comwrot e in message
          news:1155647992 .802062.81830@m 79g2000cwm.goog legroups.com...
          I've created a simple guestbook and register user page, however when
          they are used and then re used quickly after, php doesn't seem to be
          getting the POST info again.
          Are you saying that if userOne posts a message and then userTwo posts a
          message 5 seconds later, uersTwo's message does not post? Or is this only a
          problem if the same person posts twice within a 10 second window? Have you
          tried the first scenario? (Call a friend and say ready...set...p ost!)

          Shane


          Comment

          • dennis.mcknight@gmail.com

            #6
            Re: Help with php POST form submit/resubmit

            It would be if user 1 posted a message and then tried to post again
            right away. I posted a help message at the site's forum so hopefully
            someone there can shed some light on it. I imagine it's a server side
            issue seeing as how it always around 10 seconds that it magically works
            again.

            Comment

            Working...