PDA

View Full Version : how do I clear cache??


oneself1
11-05-2002, 09:36 PM
I'm looking to clear the client cache in JavaScript. Isn't it possible through running a function that selects the proper keys? Is there another way?

Roy Sinclair
11-05-2002, 10:31 PM
This is simply not available via javascript. Were such a thing possible it wouldn't be possible very long simply because too many web sites would abuse their users by continually flushing the user's cache in a misguided plan to protect their content.

oneself1
11-06-2002, 06:46 PM
What I'm trying to do is not have a user be able to click on a link to view a page of a passworded site after he/she has logged out. Any tips??

cg9com
11-06-2002, 07:03 PM
i agree with you Roy

oneself there are ways to prevent the page from logging in the cache at all, would that be of help?

oneself1
11-06-2002, 09:20 PM
For example meta tags? Which would be the best one to use? Or is there another way?

cg9com
11-07-2002, 02:27 AM
Yes i was talking about meta tags, if you go to the homepage of this website, you will see them in use.

glenngv
11-07-2002, 02:52 AM
Originally posted by oneself1
What I'm trying to do is not have a user be able to click on a link to view a page of a passworded site after he/she has logged out. Any tips??

hmmm, seems like you have a password checking via javascript in your site. You should have used server-side authentication in the first place. That will solve your problem.