Redirect to Last Page Visited
This script will redirect the user to the page where he left your site at the last visit. Redirect is only performed if the user enters the main page of your site from any other site. If the user enters your site by direct link from any search engine or another site, the redirect is not performed allowing the user to see the appropriate content.
- Created by: Dmitriy Simonchik
- Web Site: http://www.thebridge.ru
- Posted: November 2, 2007
If you have pages that are dynamically generated by data that is sent by HTTP POST requests, the code below will make sure the current page will not be remembered. To disable storing of the current page, add the following code before the SCRIPT tag where the main code is included:
Further information can be found online.
Paste this source code into the designated areas.
Paste this code into the
HEAD section of your HTML document.
If the redirection message is used, paste this code into the
BODY section of your HTML document where you want the message displayed