homepage Welcome to WebmasterWorld Guest from 184.72.72.182
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque & physics

Webmaster General Forum

    
Hiding website content
no browser history
StoutFiles




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

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?

 

stapel




msg:3777027
 7:29 pm on Oct 30, 2008 (gmt 0)

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.

webfoo




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

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

StoutFiles




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

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.

stuartc1




msg:3777340
 9:12 am on Oct 31, 2008 (gmt 0)

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..

daveVk




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

<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.

piatkow




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

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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved