dropfaith Posted November 1, 2008 Share Posted November 1, 2008 Can this be done Say user clicks on a link it removes the history from the browsers comp im creating a panic button becuase im making a site for a pro Dominatrix and want an option where the user can remove all info from one link and remove history and redirect to google.com i can do all but the history clear on me own Quote Link to comment Share on other sites More sharing options...
hitman6003 Posted November 1, 2008 Share Posted November 1, 2008 Clearing browser history is a client side function. PHP is a server based language. Your best hope is javascript, but I wouldn't count on that functionality, as it probably violates JS's sandbox. Quote Link to comment Share on other sites More sharing options...
waynew Posted November 2, 2008 Share Posted November 2, 2008 lol Dominatrix Quote Link to comment Share on other sites More sharing options...
marcus Posted November 2, 2008 Share Posted November 2, 2008 Well if you don't want your site to be in their history you can try using <meta http-equiv="cache-control" content="no-cache"> in your html head tags or check: http://forums.asp.net/p/1132444/1806081.aspx Quote Link to comment Share on other sites More sharing options...
hitman6003 Posted November 4, 2008 Share Posted November 4, 2008 <meta http-equiv="cache-control" content="no-cache"> That just causes the browser to not cache the page locally, it has nothing to do with it not being in the history. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.