Quote:
Originally Posted by sharathkv
I tried this & it's not working
Code:
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
I'm not in a position to decide who will use which browser & why. Right now all I need to know is how to disable caching in IE? and make it work.
Thanks
|
Then I misinterpreted your goal then. But now its looks like I'm going to be even more confused. You want to somehow disable local browser-caching from the server side somehow?
If user information being leaked somehow from cached html pages is the concern.. you could use server-side scripting to generate html interfaces. That way the page cached is nearly useless locally. All that would be left is some cached images and a completely broken interface.
However some further research shows a microsoft recommend way.
http://support.microsoft.com/kb/q222064/
And another way thats more along the lines of my thinking.
http://www.pacificnet.net/~johnr/meta.html
Sadly though, not all the rules are not necessarily followed and browsers, particularly Internet Explorer, are known to do their own thing. So it looks like CGI is the only way to make it bullet.
It could be very tedious. But basically your (cached) html page would end up looking like this.
<html>
<form METHOD="GET">
bunch of cryptic of calls that result html being displayed
calls that are only valid for a specific amount of time from a specific ip
</form>
And on your server side...
Check ip of client.
accept strange cryptic cgi calls that produce html interfaces for x period of time
from that specific host
But NATs could potentially break this. So you're left with cookies. And since cookies can be manipulated you're back to square one. And even if they didn't, a caching proxy could still ruin you, especially if the proxy was somehow able to freeze cookies in time.
Unfortunately it basically looks like theres no hope at all.
Unless you use https perhaps. Would save some trouble. You'll notice typing
https://anypage
reveals that atleast https pages are'nt cached.