Greg,

First of all, Fusebox has absolutely nothing to do with this problem.

How often are you changing this form?

The simplest thing you can do to make sure that a user cannot cache that
form is to append a random number to the URL or form path to the fuseaction.
That way the browser will always have to check for a new version of the form
and since the URL will always be different, the form will not cache.
(Unless of course by some great chance they happen to get the same random ID
twice!)

The next thing you should do is make sure that you have all your vars
defined so that a user cannot either intentionally or unintentionally cause
an error because of missing variables.

Another thing you can do is change the fuseaction to the form.  (By the way,
this is a great example of where the Fusebox style shines.)

You could also put a pragma-nocache tag into the HEAD of the specific
document to prevent it from being cached - although that doesn't always
work.

---mark

------------------------------------
Mark Warrick - Fusioneers.com
Email: [EMAIL PROTECTED]
Phone: 714-547-5386
http://www.fusioneers.com
http://www.warrick.net
====================================

> -----Original Message-----
> From: Greg Luce [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 29, 2001 6:25 AM
> To: CF-Talk
> Subject: Form Caching
>
>
> I'm having problems with people's browsers caching form-pages.
> I'm using CF
> 4.5/sybase/apache and of course Fusebox. If I change the way a form page
> works, users start getting errors which I see are caused by
> submitting older
> versions of that form which don't work now. Is there a way to auto-refresh
> the page for them, say in the index perhaps? The only way I can
> come up with
> right now is to include a page with a link in the index.cfm
> before the qry_
> and dsp_ pages for that fuseaction. The page will just say "Click to go to
> ...., then Click your browser's Refresh Button before filling out
> form." My
> webmaster said something about IE noticing major changes in a page before
> using the cached version. Does using Fusebox make this impossible for the
> browser to do?
>
> Greg
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to