The way I built my asp pages, I have a hidden field to flag posting on every submit form and the posting page have codes like this to see if I need to post the data:
If Request.Form ("postcount")="yes" Then
PostCountData
End If
However, I've just found a problem with this approach. When the user manually refreshes the page by clicking on browser's refresh button, the data gets posted again and again. Since the value returned from Request.Form is the same ("yes" in this case), it just keeps posting regardless if it was already posted.
Is there an easy way to either check if posted already or set the form value to "no"? TIA.
It's "my" world. You're just living in it.