CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Beginner:
disable going back?



Apr 6, 2001, 12:30 AM

Post #1 of 3 (405 views)
disable going back? Can't Post

Is there an easy way to disable all possible ways of going back to a script?? Lots of weird things happen with my scripts if the user goes back and tries to do what has already been done...

thankful for help,

Administrator / Moderator

Apr 6, 2001, 3:52 PM

Post #2 of 3 (403 views)
Re: disable going back? [In reply to] Can't Post

There's no bonafide way to do this. There is, however, a simple javascript "disable back-button" script available, probably on But since people can turn off javascript, it's not a viable solution.


Apr 6, 2001, 4:07 PM

Post #3 of 3 (401 views)
Re: disable going back? [In reply to] Can't Post

Unless you checked for javascript before the script began to process, and sent them to an error page telling them that javascript had to be enabled before continuing. Those things annoy the hell outta me, but I'm seeing more and more of them.

If the script has finished processing, and they're at a "success" page, you could make your success page a redirect to a 2nd success page. Then if they try to click back, they go back to the redirect page and get redirected all over again -- they just loop over and over.


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives