Autor Beitrag
wolke
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 240



BeitragVerfasst: Mi 04.05.05 16:33 
Ich nutze TWebBrowser zum Laden von Seiten und möchte den Festplatten- und Speichercache komplett umgehen, dh. bei jedem Request soll die Seite neu vom Server angefordert werden. Das mache ich bisher mit InternetSetOption(nil,INTERNET_OPTION_RESET_URLCACHE_SESSION,0,0) nach jedem Request/Navigate. Ist das korrekt so?

Zusätzlich setze ich vor dem WebBrowser.Navigate noch die Flags navNoHistory, navNoReadFromCache und navNoWriteToCache. Kann ich mir dann das obige RESET_URLCACHE_SESSION sparen?

Ich find irgendwie keinen guten Weg zu testen ob das wirklich funktioniert. :)
alias5000
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Mi 04.05.05 17:21 
Also sicher bin ich mir net, aber:
geh mal im IE auf ne Internetseite (z.B. www.gmx.de). Dann gehst du aus dem Internet raus und gibst nochmal www.gmx.de ein. Vielleicht musst du in den Optionen noch ein bissl rumspielen, aber bei mir war er dann schon mal soweit, dass er die Seite ohne Bilder angezeigt hat.
Dasselbe müsstes du auch mit deinem Programm machen können.

_________________
Programmers never die, they just GOSUB without RETURN
wolke Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 240



BeitragVerfasst: Mi 04.05.05 19:07 
offline? wie? ohne internet? geht das? :shock:

;)
toms
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1099
Erhaltene Danke: 2



BeitragVerfasst: Do 05.05.05 06:46 
user profile iconwolke hat folgendes geschrieben:
offline? wie? ohne internet? geht das? :shock:

;)


Internetverbdindung trennen oder das Kabel herausziehen :wink: