|
I'm assuming your page is something like this:
<%
' process submitted info
' ............. commands, send email, etc
' if processed submitted info, show confirmation
' .......... confirmation
%>
<form action="<%=Request.ServerVariables("SCRIPT_NAME")% >" method=post>[/b]
if so, do what I do:
instead of displaying the confirmation just after the processing, redirect to the same page (without the form data) and then display confirmation.
that way, even if they user refreshes the page, no data has been submitted.
example:
<%
If Request.QueryString("action")="submit" Then
' process submitted info
' ............. commands, send email, etc
response.redirect "?action=confirm"
End If
If Request.QueryString("action")="confirm" Then
' if processed submitted info, show confirmation
' .......... confirmation
Response.End
End If
%>
<form action="?action=submit" method=post>
|