I see that your value is 'timeout="300"'. In most other cases where a timeout value is used, the numeric value is in milliseconds. If this is also true for your value here, the value is actually only .3 seconds, in which case, the timeout value has most likely passed by the time the action has taken place.
Just a thought. Troy Jones ___________________________________________________________________________________________ Troy Jones | Director of Technical Services | Dynapp Inc | 1-800-830-5192 ext. 603 | dynapp.com | facebook.com/dynapp -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Charlie Arehart Sent: Wednesday, July 14, 2010 12:00 PM To: [email protected] Subject: RE: [ACFUG Discuss] Preserving data on flash forms using the timeout attribute Wow, I never even realized CFFORM had a timeout for Flash forms. It is indeed intended to deal with this very issue (http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec 10372-7fed.html, which is for cf9, but the same was said on the same page in the Dev Guide in CF7). Don't know why it's not working. I assume you're saying that they are hitting "back" within 300 seconds of having submitted the form, right? We all know (ok, most know) that hitting back on html forms can lose data, depending on the browser, and whether it caches the page (configurable in the browser). I would have thought this would not apply to Flash forms, but perhaps it does. Have you confirmed, Craig, if your problem is happening on all browsers (IE, Firefox, Chrome, to start), and different versions in a browser? Even if you're in an environment where "only IE 6 is allowed" or something, it's still worth testing just to see if indeed it is a browser-specific issue. And remember, it could be dependent on setting within any one browser (so that even on a specific browser and version, like IE 6, it works one way for one user and another for a different user, by their browser caching control settings.) /charlie > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf Of > [email protected] > Sent: Wednesday, July 14, 2010 11:02 AM > To: [email protected] > Subject: [ACFUG Discuss] Preserving data on flash forms using the timeout > attribute > > I have a flash form that collects data from the user, the user then > submits to an action page where that data is used to form an e-mail and > that is sent - everything works great, except now I'm trying to set the > timeout attribute in cfform to 300 seconds so that the user can press the > back button from the action page to return to the form if necessary. The > form loads successfully, but all the data the user had entered is gone - > the form is like it's being loaded anew. The code looks like this (with > the names changed to protect the innocent: > > <cfform format="flash" action="testpage.cfm" > height="700" width="800" timeout="300"> > <cfinput label="Date" type="text" > name="currdate" value="#DateFormat(now(), "mm/dd/yyyy")#"> > <cfinput label="Requestor" type="text" > name="requestor" size="50" maxlength="50" required="yes" message="Please > enter requestor"> > <cfselect label="Company" name="company" > size="1" required="yes" message="Please select your company name"> > <option value=""></option> > <option > value="aaaaaaa">aaaaaaaa</option> > <option > value="xxxxxxxx">xxxxxxx</option> > > </cfselect> > <cfselect label="Shop" > name="reqdescription" size="1" required="yes" message="Please select > shop"> > <option value=""></option> > <option > value="carpentry">Carpentry</option> > <option > value="custodial">Custodial</option> > <option > value="electrical">Electrical</option> > <option > value="elevatortechnician">Elevator Technician</option> > <option > value="housekeeping">Housekeeping</option> > <option value="hvac">HVAC</option> > <option > value="landscaping">Landscaping</option> > <option > value="locksmith">Locksmith</option> > <option > value="mailroomreceiving">Mail Room/Receiving</option> > <option > value="mechanical">Mechanical</option> > <option > value="paint">Paint</option> > <option > value="plumbing">Plumbing</option> > <option > value="spaceplanning">Space Planning</option> > </cfselect> > <cftextarea label="Service Request" > name="svsrequest" cols="40" rows="6" maxlength="750" required="yes" > message="Please enter Service Request Field" /> > <cftextarea label="Additional Comments" > name="addlcomments" cols="40" rows="6" maxlength="750" /> > <cfinput type="submit" name="submit" > value="Submit"> > </cfform> > > Any help is determing why data is not maintained as documented would be > greatly appreciated. > > Craig Nassal > > Federal Reserve Bank of Atlanta > 1000 Peachtree St. N.E. > Atlanta, Ga 30309-4470 > (404)498-8437 > [email protected] > > > > ------------------------------------------------------------- > To unsubscribe from this list, manage your profile @ > http://www.acfug.org?fa=login.edituserform > > For more info, see http://www.acfug.org/mailinglists > Archive @ http://www.mail-archive.com/discussion%40acfug.org/ > List hosted by http://www.fusionlink.com > ------------------------------------------------------------- > > ------------------------------------------------------------- To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com ------------------------------------------------------------- No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.830 / Virus Database: 271.1.1/3004 - Release Date: 07/14/10 02:36:00 ------------------------------------------------------------- To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -------------------------------------------------------------
