Prevent URL from being logged to browser history and URL address suggestions

Posted on 2007-07-27
Last Modified: 2012-05-05
Can I keep the URL of my site from being logged to the History of a browser?  Specifically, if the browser implements URL suggestions in the address bar I do not want, on a community computer, subsequent users to be able to that the browser hit that site.

If so, how?


P.S.  I know this sound like I have "bad" site but its for a state welfare internet app.
Question by:Bruce
    LVL 16

    Assisted Solution

    Hello cylikon,

    This would depend on the user's client side settings. If you the doesn't have their history turned on then you don't have to worry. As far as I know at least there is no way to not have your site appear in a users history unless they have manually turned it off themselves.


    LVL 48

    Assisted Solution

    Write the complete website as AJAX, so only the starting page is logged in the browser, but no parameters or other pages. With HTML/JS it is not possible to deny the historization of visited pages on the client side.
    LVL 8

    Accepted Solution

    There's a variety of ways to handle this either through ASP.NET or through some inherent commands to IE.  Here's a good resource:
    LVL 8

    Expert Comment

    This only works with certain browsers I might add (but bear in mind a lot of public access computers only use IE as the browser.)
    LVL 16

    Assisted Solution

    > I do not want, on a community computer, subsequent users to be able to that the browser hit that site.
    > [...] its for a state welfare internet app.

    It sounds more like you ought to be using HTTPS throughout and private caching directives with short/immediate expiry.  Also with nothing sensitive ever on the URI.  Encrypted session cookies should be used and the session destroyed after let's say 15 minutes inactivity, where the user should be forced to reauthenticate or start from the beginning.

    AJAX may seem attractive, it will still need to be secure, but there are two possible issues:
      1.  Browser vendors may decide to include AJAX requests in the browser history in future.
      2.  State's tend to mandate their Internet applications still work without JavaScript (the one I work on does).


    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Suggested Solutions

    Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
    Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
    This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
    The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now