Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Enabling or Disabling Advanced Security Settings in the browser..!

Status
Not open for further replies.

henpat123

Programmer
Apr 14, 2005
35
US
Hi,
Is it possible to Enable or Disable the Advanced browser Settings(the one under Tools-->Internet Options-->Advanced Tabs) using javascript? If yes how...?
My guess is that would be a breach of security..but just wanted to know if there is a way.

The reason I am asking is, i wanted one of the options in there called "Empty Temperory Intenet Files Folder when browser is closed" to be enabled when the users get into my application..that way they do not have cache in there local machines..

henry
 

I don't believe that this is possible. Consider using meta tags on your pages to stop caching, however:

Code:
<meta http-equiv="expires" content="Mon, 5 Jan 2004 11:00:00 GMT" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="pragma" content="no-cache" />

You also haven't said why you want to stop caching - if it is just to stop older versions of pages being loaded, those will work. If it is to try and stop them from getting the source to your pages, give up now.

Hope this helps,
Dan


[tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt]
[banghead]

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top