[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.caching

SetETagFromFileDependencies won't work

Trumba

1/25/2007 1:05:00 AM

I have some straightforward code to set caching parameters

response.AddFileDependency(context.Server.MapPath(localpath));
response.Cache.SetLastModifiedFromFileDependencies();
response.Cache.SetETagFromFileDependencies();

Yet only the last-modified header gets set. Is this not the correct sequence?