Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Web-App-Sec
[Top] [All Lists]

Re: Mozilla Firefox can't disable browser cache. Why?

Subject: Re: Mozilla Firefox can't disable browser cache. Why?
Date: Thu, 24 Aug 2006 13:47:40 +0100
To turn off memory caching in Firefox, type

about:config

in the address bar, then change browser.cache.memory.enable to false.

On 23/08/06, Ron <ron@gwn.ca> wrote:
Out of curiosity, what happens if you close and re-open the browser?  Or
what happens if you try and open the page in another tab?  I'm thinking
that it might be cached in memory and not on disk, and I'm not sure if
you can disable in-memory caching.  That's just a guess, though.

smith.norton@gmail.com wrote:
> I have two pages.
>
> a.php
> ------
>
> <?php
> Header("Pragma: no-cache"); #HTTP 1.0
> Header("Cache-control: private, no-cache, no-store");
> Header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
> ?>
>
> <html>
> <head>
> <title>1st Page</title>
> </head>
> <body>
> <p>
> This is the first page.<br>
> <a href="b.html">Click here</a> to go to the second page.
> </p>
> </body>
> </html>
>
> b.html
> ------
> <html>
> <head>
> <meta http-equiv="cache-control" content="no-cache">
> <title>2nd Page</title>
> </head>
> <body>
> <p>
> This is the second page.<br>
> </p>
> </body>
> </html>
>
> Then I try the following steps:-
>
> 1. Open http://[mysite]/a.php
> 2. Click the link on it to go to b.html.
> 3. Then click on "Work Offline" from the "File" menu of the browser.
> 4. Hit the back button.
>
> I am expecting that on pressing the back button I shouldn't be able to get 
a.php since caching was disabled.
>
> When I try the above steps with Internet Explorer, I am unable to get back a.php in 
"offline" mode. So this is OK.
>
> But, when I try the above steps with Mozilla Firefox, I am able to get back a.php in 
"offline" mode even though caching was disabled.
>
> Why didn't Mozilla Firefox obey the directives in the HTTP Headers?
>
> -------------------------------------------------------------------------
> Sponsored by: Watchfire
>
> Watchfire was recently named the worldwide market leader in Web
> application security assessment tools by both Gartner and IDC.
> Download a free trial of AppScan today and see why more customers choose
> AppScan then any other solution. Try it today!
>
> https://www.watchfire.com/securearea/appscancamp.aspx?id=701500000008VnB
> --------------------------------------------------------------------------
>
>

-------------------------------------------------------------------------
Sponsored by: Watchfire

Watchfire was recently named the worldwide market leader in Web
application security assessment tools by both Gartner and IDC.
Download a free trial of AppScan today and see why more customers choose
AppScan then any other solution. Try it today!

https://www.watchfire.com/securearea/appscancamp.aspx?id=701500000008VnB
--------------------------------------------------------------------------



------------------------------------------------------------------------- Sponsored by: Watchfire

Watchfire was recently named the worldwide market leader in Web application security assessment tools by both Gartner and IDC. Download a free trial of AppScan today and see why more customers choose AppScan then any other solution. Try it today!
https://www.watchfire.com/securearea/appscancamp.aspx?id=701500000008VnB
--------------------------------------------------------------------------


<Prev in Thread] Current Thread [Next in Thread>