How do I not allow people to go back after submitting their form?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • alexiskuchta
    Private

    • Sep 2012
    • 1

    How do I not allow people to go back after submitting their form?

    I have a form on my website I use for voting purposes. Once you submit the form it redirects to the "Thank You for Voting" Page. If you click back it goes back to the form with all the items still selected. I would like for it to either go to a "WebPage Expired" page or make it to where the form is refreshed so you have to reselect your options. How do I do this?
  • Vasili
    Moderator

    • Mar 2006
    • 14683

    #2
    Re: How do I not allow people to go back after submitting their form?

    Search these Forums for a "no cache" command to insert on your Form page ... this way, there will be no cached page file in any browser to refer to, only the page URL to again be downloaded as if "refreshed" ....

    Using the various javascript methods (there are plenty to choose from via Google Search) do not universally function in all browsers, nor do the 'right-click back denial' scripts fully eliminate or thwart manual navigation, so your best method is to uniquely configure the singly specific page based on unique traffic using the 'no cache' method.
    . VodaWebs....Luxury Group
    * Success Is Potential Realized *

    Comment

    Working...
    X