Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: Remove History

  1. #1
    Regular Coder
    Join Date
    Jul 2011
    Posts
    101
    Thanks
    7
    Thanked 6 Times in 6 Posts

    Remove History

    Hey guys,

    I am working on a project that requires confidentiality for the user. Is it possible to have a website clear browser history when exiting, or something similar in nature?

    Or any other possible suggestions?

    Thanks!

  • #2
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,642
    Thanks
    0
    Thanked 649 Times in 639 Posts
    That is entirely under your visitor's control so you have to start by assuming that all the pages they visited will be in the history. That doesn't mean that there have to be cached copies of all those pages stored on their computer though, you can set up your pages so that they will not be cached and therefore when they go back to a page in their history that the page reloads from the server. That will allow you to build protection into the page itself to prevent it from displaying in that situation.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • Users who have thanked felgall for this post:

    bdbolin (02-04-2012)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •