that'll happen with any action page.

you could submit to a separate action page, do your stuff, then do a
<cflocation> back to the form.

it's just a matter of preference, but i do like having a separate
action page.  in my mind, the two pages (form, action) perform very
distinct tasks, and should logically be distinct pages.  it's also
less code on each page, so easier to debug (IMO) :)

On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
> >The action page doesnt have to be another page. If can be the same
> >page, with the form submitting to itself.
>
> i have set up my page to submit to itself. When i am testing the submit 
> button it works fine. I do all of the processing inside the action page and 
> include it within the main oage if the submit button isDefined().
>
> However, i have noticed that when i first come onto the page and press 
> refresh it is fine, but when i press the submit buttons - it does all of its 
> processing but when i then try to press the refresh button it doesnt reload 
> the page as normal but tries to post the data again. it comes up with a 
> message box saying that POSTDATA is about to be submitted again. Is there 
> anyway i can stop it from doing this and just reload the page again.
>
> Thanks for any help
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254073
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to