Refresh/Recycle button - working around it with form submittals
I have a form which submits to result page
On the result page...
<cfif structKeyExists (form, "submit">
total=total+1
</cfif>
I notice if I press the "refresh" button on any browser, the total increases, which I don't want.
So I thought I could get around it by using structDelete(Form,"submit") , but it made no difference. Looking further into it, when I dumped form contents at the start of the results page, it appears the refresh button "undeletes" for the Form "submit" strucutre, which is why my total increases.
Any advice on a way around this ?
