thanks for you help, i got it working using <cflocation..>, hopefully
that'll do the trick
>From: Zachary Bedell <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>Subject: RE: stop reload data
>Date: Tue, 11 Jul 2000 11:10:06 -0400
>
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
> > >I mean, after you insert the record, do <cflocation ..> to,
> > say, the same
> > >page. This will help for sure.
> > >
> > >
> > >You may do silent http redirect.
> > >
> > >
> > >I have an insert form, which updates the data, however if I
> > reload the
> > >action page, it inserts the data again, how do I stop this.
> > >thanks in advance
>
>
>I think the root of your problems is that the page you're displaying
>to the user is also doing an action.
>
>In every page I write, if it does an ACTION (IE database, CFX tag,
>file updates, etc.) I make the page do no browser output & redirect
>to a special display page at the end of its processing. The display
>page does NOTHING other than a database read or whatever to get the
>data it needs & display it to the user. Nothing is changed by what
>the display page does.
>
>It's a little more work to code, and certainly more load on the DB to
>reread stuff that would have otherwise been available before the
>CFLOCATION, but it's certainly worth it. By separating your action &
>display pages, you ensure that nothing the user does "accidentally"
>will cause repeats in your action pages. They can sit & hit reload
>all day, or their browser can silent re-request a page when a cache
>runs out. The only way an action will occur is if the user clicks
>something. I believe Fusebox bases its page layout on this concept,
>but FB isn't my thing...
>
>Best regards,
>Zac Bedell
>
>-----BEGIN PGP SIGNATURE-----
>Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>
>Comment: Please use PGP!!!
>
>iQA/AwUBOWs4zgraVoMWBwRBEQIbhwCg53A7js8oEcRlSPVXmkvd9owQVCAAn2cq
>z1MlUud26yJ0GZ9D7+QOpn7J
>=KHKf
>-----END PGP SIGNATURE-----
>------------------------------------------------------------------------------
>Archives: http://www.mail-archive.com/[email protected]/
>To Unsubscribe visit
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
>send a message to [EMAIL PROTECTED] with 'unsubscribe' in
>the body.
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.