Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
August 22, 2007, 7:45 pm
rate this thread
Re: disable backbutton - when page has expired...
Generally what you're describing is something you want to avoid
whenever possible. Breaking the back button is generally bad for
usability and confusing for the user. However, if you feel that it is
entirely necessary to do, probably the best thing you can do, is set a
session variable when the user goes to the first page, and then modify
it on the second page in some way to indicate they've been to that
second page. Have a check on the first page, that looks for the
session variable and does some checks on it to ensure that the user
hasn't visited the second page. Maybe something like this:
if(isset($_SESSION['page_token']) && $_SESSION['page_token']) ==
//stop script execution, or present user with alternative content
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — The site's Newest Thread. Posted in » Secure Shell Forum