Modern browsers will remember form details and auto fill them if you go back to same page especially if you didn't submit the form. It is actually a very useful feature when browser crashes and you think you list the form fields.
Russ Michaels www.michaels.me.uk cfmldeveloper.com cflive.net cfsearch.com On 26 Sep 2013 23:35, <> wrote: > > Hi, > I recently discover a problem with IE 10, may be previous versions as > well, and although it is not directly related to CF, I thought I could > share. > Here is the problem: > I get sometimes weird errors on my sites and the logs show that the user > got directly to an update template without filling the form first. > Furthermore, the update template was called with method GET when only a > FORM with method POST can be used to request it and HTTP_REFERRER is empty. > This is inside an admin system that the user has paid for and he is very > unlikely trying to horse around with. > > I talk to the user and it appears that he is sometimes requesting pages > directly from the History in Iexplorer (Ctrl+Shift+H). All previously > requested pages are shown, including templates requested by POST. > The problem is obviously that the form has not been filled and > furthermore, the template is requested using the GET method instead of > POST. Of course it won't work. This is completely RETARDED ! > > How Microstoft could develop such non sense. > > I solved the problem including at the top of all my action templates the > file noGET.cfm which returns a 405 erreur, ie: > <CFSILENT> > <CFIF CGI.REQUEST_METHOD NEQ "POST"> > <cfheader statuscode="405" statustext="Method Not Allowed"> > <CFCONTENT RESET="Yes"><CFABORT> > </CFIF> > </CFSILENT> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356854 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

