how do delete all of the user's Temporary Internet Files?
Moderator: General Moderators
how do delete all of the user's Temporary Internet Files?
how do delete all of the user's Temporary Internet Files?
- andym01480
- Forum Contributor
- Posts: 390
- Joined: Wed Apr 19, 2006 5:01 pm
You can't! PHP operates on the server and sends html to the browser. You could write a virus, but that would be immoral and illegal!
If the reason why you are asking is that a user's browser brings up an old version of a page rather than a new one - you can force a fresh page by setting the headers to no-cache. Internet Explorer is a bit buggy on how it responds.
something like
at the top and
which before anyone points out will not validate! But it will work!
http://support.microsoft.com/kb/222064 is microsoft's solution
If the reason why you are asking is that a user's browser brings up an old version of a page rather than a new one - you can force a fresh page by setting the headers to no-cache. Internet Explorer is a bit buggy on how it responds.
something like
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
</head>
<body onLoad="if ('Navigator' == navigator.appName) document.forms[0].reset();" >Code: Select all
</body>
<HEAD>
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
</HEAD>
</html>http://support.microsoft.com/kb/222064 is microsoft's solution
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Nope. But this will validate:andym01480 wrote:which before anyone points out will not validate! But it will work!Code: Select all
</body> <HEAD> <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> </HEAD> </html>
http://support.microsoft.com/kb/222064 is microsoft's solution
Code: Select all
</body>
<!--[if IE]>
<HEAD>
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
</HEAD>
<![endif]-->
</html>- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA