/ Published in: ASP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
'Use a hidden form field "RedirectAfterSubmission" with the URL in it as a value: 'For example: Request.ServerVariables("URL") 'As soon as post form data is received and processed (stored in cookies, DB etc.), 'use the following: <% Response.Redirect(Request.Form("RedirectAfterSubmission")) %> 'As a result page will be RE-requested by GET method instead of POST 'and refreshing the page won't cause it to re-submit the data!