Re: InternetOpenUrl and local cache (2)

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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.
.



Relevant Pages

  • RE: Download current Web site to FP program on my computer?
    ... How to publish a FrontPage Web from a remote server to a local computer ... JDR ... > organization I belong to but the person who created the site has left our ...
    (microsoft.public.frontpage.client)
  • Re: publishing from server to new computer
    ... the http: address for the local computer is something like http://localhost/ ... TIA ... I can make changes to the site using remote server so I know ...
    (microsoft.public.frontpage.client)
  • Calling XML Web Services
    ... when i call My own Xml web services in my local computer from smart device application i got these error, ... Unable to connect to the remote server. ...
    (microsoft.public.pocketpc.developer)
  • Re: How to copy a jpg file to the server
    ... >> How to copy a jpg file on from local computer to remote server on the ... >> basis of PHP code? ... or run a php script on the remote server that uses copy. ...
    (comp.lang.php)
  • How to copy a jpg file to the server
    ... How to copy a jpg file on from local computer to remote server on the basis ... of PHP code? ...
    (comp.lang.php)