Re: InternetOpenUrl and local cache (2)
- From: Si <blueturtle@xxxxxxxxxxx>
- Date: Thu, 6 Mar 2008 05:45:16 -0800 (PST)
Hi,
Thanks for your help.
I've omitted the flag INTERNET_FLAG_RESYNCHRONIZE, and now I get the
behavior I wanted for accessing the remote server. Namely if the file
is in the local computer cache, and not expired, there is no access to
remote server.
However, I still encounter the following problem.
If the "InternetOpenUrl" gets the file from the local computer cache,
HttpQueryInfo still returns "200".
I need to distinguish between a 200 that is of file from remote
server, and 200 that is of file from local cache.
Is there a way to do it ?
(I can do all these checkd before hand, using "GetUrlCacheEntryInfo",
but I want to avoid it as much as possible.)
Thanks for your help,
Si.
.
- Follow-Ups:
- Re: InternetOpenUrl and local cache (2)
- From: Volodymyr M. Shcherbyna
- Re: InternetOpenUrl and local cache (2)
- References:
- InternetOpenUrl and local cache (2)
- From: Si
- Re: InternetOpenUrl and local cache (2)
- From: Alexander Nickolov
- InternetOpenUrl and local cache (2)
- Prev by Date: Re: WSAWaitForMultipleEvents wait of > max events techniques
- Next by Date: basic newbies question
- Previous by thread: Re: InternetOpenUrl and local cache (2)
- Next by thread: Re: InternetOpenUrl and local cache (2)
- Index(es):
Relevant Pages
|