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

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

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

 



emelin
stranger

Apr 6, 2001, 12:30 AM

Post #1 of 3 (382 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,
emelin




Jasmine
Administrator / Moderator

Apr 6, 2001, 3:52 PM

Post #2 of 3 (380 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 javascripts.com. But since people can turn off javascript, it's not a viable solution.



James
Troll

Apr 6, 2001, 4:07 PM

Post #3 of 3 (378 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