RSS Links

 

Here are all of the RSS links for sections of this site

VB.NET/ASP.NET
 Java
 Unix/Linux
 Windows
 SQL Server

Home arrow VB.NET/ASP.NET arrow How to set the caching header in VB.NET/ASP.NET
How to set the caching header in VB.NET/ASP.NET PDF Print E-mail
Thursday, 26 February 2009

To add a cache header in VB.NET  you can use

Response.Cache.SetExpires(DateTime.Now.AddSeconds(360))Response.Cache.SetCacheability(HttpCacheability.Public)Response.Cache.SetSlidingExpiration(True)


 
< Prev   Next >
 
Designed by Graham Robinson Software