At 12:55 AM 7/10/02, you wrote: >The first question you have to ask yourself is, what changed?
Just pulled CF5 off a dev machine and put CFMX up... then the trouble started. the same code still works well on a CF5 production machine. >Are you >sure the only difference is CFMX? What web server are you using? Still using the same ole apache that was being used with CF5... but now the annoying RePost Messages all over the place!!! Very annoying. The production machine is IIS and CF5 > Are you >now using CFMX's built-in web server instead of an external one like >with CF 5? > >Generally speaking, page expiration is based on web server generated >headers. Soooo Glad you asked. ;-) This is the header off the CFMX machine... looks Just like the header off the CF5 machine with the exception of the variation in the Javascript... CFMX now references the cfform scripts rather than pasting them into the header. <!-- Application --> <!-- index --> <html><head> <title>WIPtrac - WORK IN PROCESS Mfg Execution Systems</title> <link rel="STYLESHEET" type="text/css" href="msie.css"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script language="JavaScript" type="text/javascript"> function loadinparent(url, closeSelf){ self.opener.location = url; if(closeSelf) self.close(); } </script> <script language="JavaScript" type="text/javascript"> var newWin; function popUp(page, name, details) { newWin=window.open(page, name, details); newWin.focus(); return false; } </script> <script language='JavaScript'> function firstFocus() { if (document.forms.length > 0) { for (j=0;j<document.forms.length;j++) { var TForm = document.forms[j]; for (i=0;i<TForm.length;i++) { if ((TForm.elements[i].type=='text')|| (TForm.elements[i].type=='textarea')|| (TForm.elements[i].type=='password')|| (TForm.elements[i].type.toString().charAt(0)=='s')) { if (!(TForm.elements[i].readonly)&& !(TForm.elements[i].disabled)) { document.forms[j].elements[i].focus(); break; } } } } } } </script> <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript" SRC="/CFIDE/scripts/cfform.js"></SCRIPT> <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"> <!-- function _CF_checkUpDateCustomer(_CF_this) { if (!_CF_hasValue(_CF_this.Number, "TEXT" )) { if (!_CF_onError(_CF_this, _CF_this.Number, _CF_this.Number.value, "Number Required Between 101 and 999,999,999")) { return false; } } if ((!_CF_checkrange(_CF_this.Number.value, 101, 999999999))) { if (!_CF_onError(_CF_this, _CF_this.Number, _CF_this.Number.value, "Number Required Between 101 and 999,999,999")) { return false; } } if (!_CF_hasValue(_CF_this.Customer, "TEXT" )) { if (!_CF_onError(_CF_this, _CF_this.Customer, _CF_this.Customer.value, "Name Required")) { return false; } } return true; } //--> </SCRIPT> </head> <body leftmargin="0" topmargin="0" onLoad="firstFocus()"> ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists