🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.web
2 messages
2 total messages Started by Eric Wed, 06 Apr 2005 09:35
How to load Web Page always from server (not cache) using TCppWebBrowser
#1266
Author: Eric
Date: Wed, 06 Apr 2005 09:35
15 lines
1534 bytes
I want to show web report by TCppWebBrowser, the report will be changed any 
time.  So, once I Navigated the page and the report changed, the next 
Navigate will always show the old report (It obviously read from cache). 
How to show the latest report (bypass cache)?

I tried the following methods but failed:
Method 1: Add Refresh() before or after Navigate()
Method 2: set Flags (in Navigate argument) to navNoReadFromCache + 
navNoWriteToCache by the following statement:
                TVariant flags = 4 + 8;
                CppWebBrowser1->Navigate(url, &flags, NULL, NULL, NULL);
Anything wrong?

Thx
Eric
Re: How to load Web Page always from server (not cache) using TCppWebBrowser
#1269
Author: Hans Galema
Date: Wed, 06 Apr 2005 10:53
22 lines
1925 bytes
Eric wrote:
> I want to show web report by TCppWebBrowser, the report will be changed any 
> time.  So, once I Navigated the page and the report changed, the next 
> Navigate will always show the old report (It obviously read from cache). 
> How to show the latest report (bypass cache)?

You just mean that a html page has different contents now and a different date ?

> I tried the following methods but failed:
> Method 1: Add Refresh() before or after Navigate()
> Method 2: set Flags (in Navigate argument) to navNoReadFromCache + 
> navNoWriteToCache by the following statement:
>                 TVariant flags = 4 + 8;
>                 CppWebBrowser1->Navigate(url, &flags, NULL, NULL, NULL);
> Anything wrong?

Don't know why that does not work.

But think that you have to look in the setings for IE. There
you can order the browser to look everytime for an update.

Hans.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads