Welcome to WebmasterWorld Guest from 54.166.191.159

Forum Moderators: phranque

Message Too Old, No Replies

Hiding website content

no browser history

     
7:17 pm on Oct 30, 2008 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



Is there any way to keep the broswer history of your website removed? If someone were to go to my website, I would want any subsequent pages they view on the website to not be placed in the browser history. When they hit the back button, I want them to leave my website. Is this possible?
7:29 pm on Oct 30, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I don't see how....

To surf your site, the user's browser must first call the URLs. By definition, the browser must know what those URLs are; this information is stored on the user's computer before your server ever responds to the file calls.

To erase this record, you would have to hack into the user's computer and erase (or at least edit) the relevant files. I can't imagine any sensible person allowing you that sort of access.

Eliz.

7:37 pm on Oct 30, 2008 (gmt 0)

5+ Year Member



Some kind of AJAX contraption would do the trick. That can get pretty annoying. Unless you have a really good reason to do this, I would advise against it.

-webfoo

8:27 pm on Oct 30, 2008 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



My gadget is currently being iframed on another page but when hitting the back button for the browser, it only goes back through the iframed pages since they've been placed in the broswer history. If I could stop that from happening...well that would solve my problem.
9:12 am on Oct 31, 2008 (gmt 0)

10+ Year Member



As far as I know it can only be done using javascript links.

for example:

<a href="#" onClick="location.replace='otherpage.htm'">link</a>

not good for search engines though..

9:33 am on Oct 31, 2008 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



<a href="otherpage.htm" onClick="location.replace='otherpage.htm';return false">link</a>

Better for search engines, but then again being in an iframe you may not want search engines to see it.

10:08 am on Oct 31, 2008 (gmt 0)

WebmasterWorld Senior Member piatkow is a WebmasterWorld Top Contributor of All Time 5+ Year Member



Some kind of AJAX contraption would do the trick.

I have a webmail account that does this. If I hit the back button to return to the inbox I find myself logged out instead.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month