By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,748 Members | 1,338 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,748 IT Pros & Developers. It's quick & easy.

clear history and cookies

dmjpro
100+
P: 2,476
can't clear the history and cookies in js

thanks in advance
Feb 9 '07 #1
Share this Question
Share on Google+
4 Replies

dorinbogdan
Expert 100+
P: 839
To delete a specific cookie take a look here:

http://blogs.x2line.com/al/articles/316.aspx
Feb 9 '07 #2

dmjpro
100+
P: 2,476
thanks for reply ....
but i want to clear also history
can't it be possible
Feb 9 '07 #3

dorinbogdan
Expert 100+
P: 839
To clear history it may require to use an ActiveX object, to be called from the script (it would also introduce some security issues). It depends of the project specifications.
Feb 9 '07 #4

acoder
Expert Mod 15k+
P: 16,027
Why do you want to clear the history? One way to prevent history even appearing on the user's browser is to use AJAX, but you would still have the original page in the history. If you simply want the newest version of the page, you can add meta tags or some other method to prevent caching of the page.
Feb 9 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.