A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
Is it possible to clear history/ temp files
Joined: Oct 11, 2006
Jan 13, 2008 06:37:00
Is it possible to clear the temporary files and the history/cookies , if yes how
Joined: Dec 11, 2004
Jan 13, 2008 06:59:00
No, not from the server.
The best you can do is suggest that the browser not cache your pages.
As for cookies.
See the API to see how to set the expiration date and to add/remove values:
How to ask a question...
Simple Servlet Examples
Joined: Mar 06, 2001
Jan 13, 2008 07:04:00
Not really, but when you send resources to the client, you can provide cache control settings in the header encouraging them to cache or not cache that resource.
This is not the same as clearing their cache, since you need to tell the client your cache settings at the time you send the resource, not some time afterwards.
It is sorta covered in the
JavaRanch Style Guide
subject: Is it possible to clear history/ temp files
OO design question?
Cleaning out old versions in git
WA #1.....word association
Applet not refreshing
how to delete browser's history from jsp
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014