Monday, September 24, 2007

Stop Browser Caching Using Meta Tags

To stop browsers from storing a version of your web page in its cache, use the meta tag, Pragma:No-Cache, that is,

<meta http-equiv="PRAGMA" content="NO-CACHE">

This meta tag needs to be included between the head tags of your html page.

<html>
<head>
<meta http-equiv="PRAGMA" content="NO-CACHE">
</head>
<body>

Unfortunately, the Pragma:No-Cache meta tag does not work all the time. Work arounds are needed for Internet Explorer because of the way it handles caching.

Work Around for Internet Explorer

For Internet Explorer 5, you would need to add an additional Expire:-1 meta tag, that is, <meta http-equiv=”EXPIRES” content="-1"> along with the Pragma:No-Cache meta tag. Both meta tags need to be included at the top and bottom of the page as with the work around for Internet Explorer.

<html>
<head>
<meta http-equiv="PRAGMA" content="NO-CACHE">
<meta http-equiv="EXPIRES" content="-1">
</head>
<body>

AND

</body>
<head>
<meta http-equiv="PRAGMA" content="NO-CACHE">
<meta http-equiv="EXPIRES" content="-1">
</head>
</html>

Link:
Display HTML tags in blog

Tuesday, September 18, 2007

How to configure Internet Explorer to open Office documents in the appropriate Office program instead of in Internet Explorer

In Windows XP

To configure Internet Explorer to open Office files in the appropriate Office program by using the Folder Options tool:

  1. Open My Computer.
  2. On the Tools menu, click Folder Options.
  3. Click the File Types tab.
  4. In the Registered file types list, click the specific Office document type (for example, Microsoft Excel Worksheet), and then click Advanced (or Restore).
  5. In the Edit File Type dialog box, click to clear the Browse in same window check box.
  6. Click OK.

Additional information: http://support.microsoft.com/kb/162059