Re: resubmitting form data when clicking "back"
Re: resubmitting form data when clicking "back"
- Subject: Re: resubmitting form data when clicking "back"
- From: William Norris <email@hidden>
- Date: Fri, 10 Sep 2004 16:38:40 -0500
On Thu, 9 Sep 2004 20:47:33 -0500, William Norris <email@hidden> wrote:
> I have a form that searches a database and displays set of matching
> records. from this "results" page, you can click each record to view
> detailed information about it. However, when you then click "back" to
> return to the result page, Safari asks to resubmit the form. I've run
> into this on many other sites and have worked around it before, but am
> unsure as to how to prevent it from happening in WO.
well, I discovered that it was because I was just running the
application from Xcode.. I hadn't actually deployed it to a server.
Once I deployed it, backtracking was enabled and everything worked
smoothly. (apparently running the program in Xcode by clicking "build
and run" doesn't have backtracking capabilities, which actually makes
sense I guess).
I have a new but similar question now.... After doing something on a
page, I would like to return a user to the previous page they were on.
I would like it to work the exact same as if they had clicked the
back button... actually moving backwards in their history instead of
moving forward to a page that is a copy of their previous page.
For example, say a user's history contains the pages (A, B, C). after
performing some action on C, the user is returned to B. At this
point, if they were to click "back" in their browser, they go back to
A, not C.
Is this possible? If not, then how about just sending the user a new B page?
Thanks,
will
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.