Page 1 of 1
cache troubles-i need to prevent history-back
Posted: Wed Jun 12, 2002 3:42 pm
by chris12295
I made a search script and my users can move forward using my Next button and back using MY Back button.
How can i prevent visitors from being able to use the back button on their browser to display the previous page?
Posted: Wed Jun 12, 2002 3:52 pm
by Johnm
So far, unfortunately, I have not seen anything that truly does this. With writing an engineering site I have found a few other ways to prevent problems caused by the user using the "Back" button. If you can define the problem better, I may have something written that can help.
Direwolf
Posted: Wed Jun 12, 2002 4:08 pm
by chris12295
lets see, the whole script is one page called search2.php. this is the search process:
1. type keywords, form submitted to itself. $PHP_SELF
2. script retrieves any content related to the keywords from a database
3. the results are limited to 5 per page
4. their are links at the top that are: <--Prev 1 2 3 ... Next-->
5. clicking any of these does what u would expect
i need to prevent the user from using the back button when he/she loads search2.php and performs the searches and clicks the links at the top.