🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #1266

How to load Web Page always from server (not cache) using TCppWebBrowser

#1266
From: 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
Technical Details
Message-ID: <4253ad4b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,69be5811d74c195c,start
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Eric" <ericlai@sharppoint.com.hk>
Newsgroups: borland.public.cppbuilder.internet.web
Subject: How to load Web Page always from server (not cache) using TCppWebBrowser
Date: Wed, 6 Apr 2005 17:35:07 +0800
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 218.189.143.18
Message-ID: <4253ad4b@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1112780107 218.189.143.18 (6 Apr 2005 02:35:07 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail