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 Link to comment https://forums.phpfreaks.com/topic/131018-php-clear-history/ 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. Link to comment https://forums.phpfreaks.com/topic/131018-php-clear-history/#findComment-680275 Share on other sites More sharing options...
waynew Posted November 2, 2008 Share Posted November 2, 2008 lol Dominatrix Link to comment https://forums.phpfreaks.com/topic/131018-php-clear-history/#findComment-680333 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 Link to comment https://forums.phpfreaks.com/topic/131018-php-clear-history/#findComment-680334 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. Link to comment https://forums.phpfreaks.com/topic/131018-php-clear-history/#findComment-681696 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.