> not sure if that will stop the refresh from causing trouble, 
> but worth a try.

don't think so, (and I may be wrong), but my understanding is that the
variables are held in the request and when the user presses refresh the
whole lot is sent over again. 

Try this method - post to the same page, but once you're done mucking around
with the form data, rather than simply load the page, send back a page
containing just a meta-refresh with 0 seconds on the timer (better than
using JS in case the user doesn't have JS enabled)

The target of the refresh should be that page again, only this time you're
not posting anything to the page, you're just doing a simple get and no form
variables will be sent. It'll then be refresh-safe.

Rich


> -----Original Message-----
> From: Adrian Lynch [mailto:[EMAIL PROTECTED] 
> Sent: 08 January 2004 15:18
> To: '[EMAIL PROTECTED]'
> Subject: RE: [ cf-dev ] form variables
> 
> 
> Try StructClear(FORM), (check the syntax on that though). I'm 
> not sure if that will stop the refresh from causing trouble, 
> but worth a try.
> 
> Ade
> 
> -----Original Message-----
> From: Damien Gallagher [mailto:[EMAIL PROTECTED]
> Sent: 08 January 2004 14:26
> To: [EMAIL PROTECTED]
> Subject: RE: [ cf-dev ] form variables
> 
> 
> just a quick one...
> 
> I have a form page that needs to submit to itself to process 
> the action. Problem is, once the action's complete the form 
> variables are still in the page and so clicking refresh 
> reprocesses the lot. Any ideas how to purge the variables?
> 
> Thanks,
> Damien
> 
> 
> -- 
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: 
> [EMAIL PROTECTED] For human help, e-mail: 
> [EMAIL PROTECTED]
> 
> -- 
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: 
> [EMAIL PROTECTED] For human help, e-mail: 
> [EMAIL PROTECTED]
> 


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to