471,120 Members | 1,474 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,120 software developers and data experts.

clear history and cookies

dmjpro
2,476 2GB
can't clear the history and cookies in js

thanks in advance
Feb 9 '07 #1
4 3617
dorinbogdan
839 Expert 512MB
To delete a specific cookie take a look here:

http://blogs.x2line.com/al/articles/316.aspx
Feb 9 '07 #2
dmjpro
2,476 2GB
thanks for reply ....
but i want to clear also history
can't it be possible
Feb 9 '07 #3
dorinbogdan
839 Expert 512MB
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
16,027 Expert Mod 8TB
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.

Similar topics

6 posts views Thread by Otto Wyss | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.