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: Intermediate:
Disable going back?



May 4, 2000, 5:55 AM

Post #1 of 3 (1536 views)
Disable going back? Can't Post

I am trying to write a script so that if they hit the back button and go to a page that they've been to already it will send them back one more time. I am tracking pages visited by going through a cgi page first. But this doesn't allow them to hit the back button. Any help or info would be appreciated.



May 4, 2000, 8:56 AM

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

Unfortunately, there is no way to determine if someone hit the "back" button, using javascript or other scripting languages. When a user hits the back button, the page is displayed from cache, unless the pragma: no-cache is used (this pragma is not enforced by all browsers).

The extend of the webmaster's control over the browser is limited to the "displayable area" of the browser, not any of the functions outside of the "web page area".


May 4, 2000, 1:25 PM

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

Could you please check out Go under products. Select anything. Any selection that is chosen will first go to a cgi page to log their progress in a text file than forwards them on to the page they actually want. Could there possibly be another cgi way to do this.


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

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