A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Is it possible to clear history/ temp files
does session remain alive even if i shuts down the server in tomcat?
Application logout on deleting cookies
How do I (really) clear IE's cache?
writing to Temp files
Creating a Temporary File
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015