Hello i have to clear browser history ,I am using the following code(location.r eplace(this.hre f); return false;) but this is not working,Please help me on this,Or give me code.
[the location object] contains information about the URL of the document and provides methods for changing that URL. You can also assign to this property to load another URL.
if you are trying to restrict the usear from going back then you can use this
[CODE=javascript]
<script language="javas cript" >
history.go(1); /* undo user navigation (ex: IE Back Button) */
</script>
[/CODE]
As for the original question... no, you can't delete/change/etc files that are on the users' computers. Simple as that.
You could do a cookie/IP/session/etc tracking with server or client side programming, or try what twey suggested.
Comment