Advertisement

06.28.2008 at 06:39AM PDT, ID: 23523877
[x]
Attachment Details

WebBrowser control clear cache before navigate

Asked by DColin in Microsoft Visual Basic.Net

Hi Experts,

I am using a WebBrowser control and navigating to my required web page as follows:

WebBrowser1.Navigate("http://www.Domain.com/main.aspx")

The problem is that the cache does not clear from the last time the WebBrowser loaded this webpage so the old page images are loaded again including the security code image that needs to change every time I navigate to this page. How can I force the WebBrowser control to reload all the images and not cache them. I know they are somehow being cached because when the page is called for the first time it takes about five seconds to load but the second time it loads without delay and does not change the security image to a new one.Start Free Trial
[+][-]06.28.2008 at 07:24AM PDT, ID: 21890994

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.29.2008 at 12:09AM PDT, ID: 21893219

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.30.2008 at 08:03AM PDT, ID: 21899759

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Visual Basic.Net
Sign Up Now!
Solution Provided By: margajet24
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628