Hitting "Back" loses all GET/POST data....

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Greg Alaksdjflk

    Hitting "Back" loses all GET/POST data....

    How do I create a form that allows one to submit a form, then press
    the
    "BACK" button on the browser, and allow the user to see the data he
    posted?
    It seems as though this information is lost. For instance,

    <form method="get" action="/contact/default.asp" name="ContactFo rm">
    ....
    </form>

    for instance, leaving a feedback at



    and pressing the back button on the browser wipes out all feedback
    fields I just entered...help!

    thanks
  • Ray at

    #2
    Re: Hitting &quot;Back&quot ; loses all GET/POST data....

    Do you have any anti-caching code in your page? I believe that most
    browsers will show you what you entered if they aren't forced to pull a
    fresh page on every visit.

    Ray at work

    "Greg Alaksdjflk" <GregoryOnline@ bigfoot.com> wrote in message
    news:73f7975d.0 402261009.6825b 088@posting.goo gle.com...[color=blue]
    > How do I create a form that allows one to submit a form, then press
    > the
    > "BACK" button on the browser, and allow the user to see the data he
    > posted?
    > It seems as though this information is lost. For instance,
    >
    > <form method="get" action="/contact/default.asp" name="ContactFo rm">
    > ...
    > </form>
    >
    > for instance, leaving a feedback at
    >
    > http://www.baltimoresun.com/about/ba...back.htmlstory
    >
    > and pressing the back button on the browser wipes out all feedback
    > fields I just entered...help!
    >
    > thanks[/color]


    Comment

    • Phillip Windell

      #3
      Re: Hitting &quot;Back&quot ; loses all GET/POST data....

      The browser normally *does* retain all that. People usually are asking how
      to make it stop doing it. You have to go out of you way to make it behave as
      it is now.


      --

      Phillip Windell [MCP, MVP, CCNA]



      "Greg Alaksdjflk" <GregoryOnline@ bigfoot.com> wrote in message
      news:73f7975d.0 402261009.6825b 088@posting.goo gle.com...[color=blue]
      > How do I create a form that allows one to submit a form, then press
      > the
      > "BACK" button on the browser, and allow the user to see the data he
      > posted?
      > It seems as though this information is lost. For instance,
      >
      > <form method="get" action="/contact/default.asp" name="ContactFo rm">
      > ...
      > </form>
      >
      > for instance, leaving a feedback at
      >
      > http://www.baltimoresun.com/about/ba...back.htmlstory
      >
      > and pressing the back button on the browser wipes out all feedback
      > fields I just entered...help!
      >
      > thanks[/color]


      Comment

      • Amit Shinde

        #4
        Re: Hitting &quot;Back&quot ; loses all GET/POST data....

        if the previous page u requested is "default.as p" using Back (<input
        type=submit value=back>) then it is certainly going to wipe out the
        contents. bcaoz that page is reloaded
        Amit shinde

        *** Sent via Developersdex http://www.developersdex.com ***
        Don't just participate in USENET...get rewarded for it!

        Comment

        Working...