Article View: borland.public.cppbuilder.internet.web
Article #1269Re: How to load Web Page always from server (not cache) using TCppWebBrowser
From: Hans Galema
Date: Wed, 06 Apr 2005 10:53
Date: Wed, 06 Apr 2005 10:53
22 lines
1925 bytes
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.
Technical Details
Message-ID:
<4253c02a$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4253ad4b@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,69be5811d74c195c X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Wed, 06 Apr 2005 12:53:19 +0200 From: Hans Galema <notused@notused.nl> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.web Subject: Re: How to load Web Page always from server (not cache) using TCppWebBrowser References: <4253ad4b@newsgroups.borland.com> In-Reply-To: <4253ad4b@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 129.125.201.248 Message-ID: <4253c02a$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1112784938 129.125.201.248 (6 Apr 2005 03:55:38 -0800) Lines: 22 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail