Skip to main content
Participant
December 27, 2009
Question

Clear cache after submit.

  • December 27, 2009
  • 1 reply
  • 891 views

Hello all,

I'm new to coldfusion, and want to know is there a sulution to clear the cache after submitting a cfml page, coz when refreshing the page (F5) it submits the form again..

thank you

This topic has been closed for replies.

1 reply

Inspiring
December 27, 2009

If you have a page that processes a form, and you refresh it without resubmitting the form, what would you expect to happen?

Participant
December 27, 2009

so is that the normal behaviour ?

I mean once the form submitted, there's no need to keep all the form values in the browser cache, and i asked if there a solution to cheat that issue ?

Inspiring
December 27, 2009

Yes that's the normal behavior if you use method = post when submitting your form.  If you use method = get the form variables become url variables and you may not have to re-submit the form on a page refresh.  I don't know for sure because I never use method = get.