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?
cache troubles-i need to prevent history-back
Moderator: General Moderators
-
chris12295
- Forum Contributor
- Posts: 113
- Joined: Sun Jun 09, 2002 10:28 pm
- Location: USA
- Contact:
-
chris12295
- Forum Contributor
- Posts: 113
- Joined: Sun Jun 09, 2002 10:28 pm
- Location: USA
- Contact:
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.
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.