> Thanks.
> -----Original Message-----
> From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]
> Sent: Saturday, February 14, 2004 2:36 PM
> To: CF-Talk
> Subject: Re: Back Button and form resubmittal/display
> > Is there a way that I can have a form redisplayed when
> > the
> > back button is
> > used?
> > Right now the "Page Expired" message shows and the
> > user
> > has to refresh and
> > resubmit. All I want to have happen is to have the
> > previous page shown just
> > like it was before a submit button was pressed.
> > Andy
> There are a couple ways to accomplish this.
> In order for this to work, the page prior to the page
> which is
> expiring needs to move to the page that's expiring using
> an http get
> operation... so for instance,
> 1. form
> -post-
> 2. form action <--+ expired
> -link- |
> 3. other page |
> -back button-----+
> To make this work so that the form result page doesn't
> expire, you
> have to change the method attribute of the form tag to
> get instead of
> post... Unfortunately this still carries the issue of
> users
> resubmitting the form by hitting the refresh button.
> There is another way to make this work that's slightly
> more
> complicated, but which also solves the form resubmittal
> problem and
> allows you to maintain the post action of the form...
> 1. form
> -post-
> 2. form action
> -cflocation-
> 3. result page <--+ not expired
> -link- |
> 4. other page |
> -back button-----+
> The cflocation can move to a page that uses session
> variables or
> _preferably_ url variables (since they won't expire) to
> get the
> information relevant to the form post action. Since the
> visitor won't
> see the form action page (it's replaced in the browser's
> history
> stack) the experience is transparent to them.
> s. isaac dealey 214.823.9345
> new epoch : isn't it time for a change?
> add features without fixtures with
> the onTap open source framework
> http://www.turnkey.to/ontap
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

