The form data has expired – CFFORM

If you are using cfform with FLASH, you may get the following error:

The form data has expired.

This appears to be random, but in fact isn’t.

It seems that flash forms cache information for about 2 minutes, probably so that there isn’t any security implications with people leaving their browser open to other people.

So if you leave the form and do nothing for a few minutes then com back to it, you may get the bove messge when submitting the form, or when you press the back button on the browser.

Although not the perfect solution (as form data entered will be lost if you hit the back button) the best thing to do is tell the page not to cache.

Here is what I do. Enter the following code into the cfform page.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Live
  • Google Bookmarks
  • BlinkList
  • FriendFeed
  • Ping.fm
  • StumbleUpon
  • Technorati
  • Mixx
  • Reddit
  • Blogosphere News
  • Fark
  • Identi.ca
  • LinkedIn
  • Sphinn
  • TwitThis
  • E-mail this story to a friend!
  • Print this article!

Related posts:

  1. Philips 5960 region free hack Just bought the 5960 and found this info on making...