"Bob Barrows [MVP]" <reb01501@NOyahoo.SPAMcomwrote in message
news:%231VhmU$LJHA.5060@TK2MSFTNGP02.phx.gbl...
Quote:
Paulo wrote: Quote:
>Hi, how do I force the asp to read the imgs files on server without
>making changings on IE settings like checking: Every visit on page...?
>>
>Any hint? any classic asp code line?
>>
| http://www.aspfaq.com/show.asp?id=2022
>
|
That article relates to the caching of responses from an ASP page. However
the question really related to the caching of the imgs which are not
normally served up by ASP. IOW this is an IIS question not a ASP one.
The images should be placed in a common folder (or set of folders in a
common root folder). In IIS manager open properties on the folder and go to
the HTTP Headers tab. Turn on expiry and set to expiry today at midnight.
Add a custom header Cache-Control: no-cache.
That will sort the problems with cached images out.
--
Anthony Jones - MVP ASP/ASP.NET