Fusebox does indeed fix this. I used to have the same problem before I
started using it.
After hitting the submit, the page should go to a fuseaction such as
"updateuser" or whatever which might have code in the "index.cfm" such as:
<CFCASE value="insertuser">
<CFINCLUDE template="act_insertuser.cfm">
<CFINCLUDE template="url_listusers.cfm">
</CFCASE>
the "url_listusers.cfm" file would have your CFLOCATION and/or some CFIF
statments:
<CFLOCATION url="index.cfm?fuseaction=listusers">
In this way, they never see the "insertuser" fuseaction because they are
immediately redirected to a different url such as a thank you page or a
listing page or whatever. Everytime I hit back, it doesn't submit again it
just shows the old form.
-Craig Bowes
Coldfusion Programmer
[EMAIL PROTECTED]
972.243.1171
----- Original Message -----
From: "Peter Theobald" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, November 03, 2000 2:22 PM
Subject: Re: Action Pages or Coding the Page in Action Attribute of <form>
tag
> I think Fusebox may address this problem, since Fusebox always has a form
display and form action (and everything else) go through the same page,
index.cfm.
>
> Any Fusebox experts want to comment on how to avoid the problem of hitting
'BACK' resubmits your form instead of displaying the blank form again?
>
> At 02:13 PM 11/2/00 -0500, Rosa, Issac wrote:
> >Is it more advantageous to use an action page or code the action in the
> ><form> tag? The submitting page is passing 2 variables - id_market and
> >id_category from drop down boxes.
> >
> ><form name="offer_search_tm" action="http://some_url.cfm" method="post">
> >
> > or
> >
> ><form name="offer_search_tm" action="offer_search_action.cfm"
method="post">
> >
> >One issue I have noticed with using action pages is that when you hit the
> >browser back button from the results page, it tries to execute the action
> >page again and doesn't take you to the submitting page. Is there another
> >way around this or a better programming methodology?
> >
> >If you have any questions or concerns, please feel free to call me at
> >407-514-5021.
> >
> >Thank you,
> >
> >> Issac Rosa
> >>
> >> IT - National Sales & Marketing
> >> OLAP Specialist Team Leader
> >> Ofc: 407-514-5021
> >> Cell: 407-342-0644
> >> Fax: 407-514-5988
> >> [EMAIL PROTECTED]
> >>
>
>---------------------------------------------------------------------------
---------------------
> >Archives: http://www.mail-archive.com/[email protected]/
> >Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send
a message with 'unsubscribe' in the body to
[EMAIL PROTECTED]
>
>
> --------------------------------------------------------------------------
-
> Peter Theobald, Chief Technology Officer
> LiquidStreaming http://www.liquidstreaming.com
> [EMAIL PROTECTED]
> Phone 1.212.545.1232 x204 Fax 1.212.545.0938
>
> To put this contact information into your Palm device, click here:
> http://www.coola.com/cgi-bin/addinfo.cgi?pid=15803&rid=972879910&type=A
>
>
> --------------------------------------------------------------------------
----------------------
> Archives: http://www.mail-archive.com/[email protected]/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send
a message with 'unsubscribe' in the body to
[EMAIL PROTECTED]
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message
with 'unsubscribe' in the body to [EMAIL PROTECTED]