So How Do You Set The Last-Modified Header? Round II

Posted by: AspNetResources.com articles, news and updates, on 03 Jan 2008 | View original | Bookmarked: 0 time(s)

Right went I thought I was done messing with the HttpCachePolicy class and the Last-Modified / If-Modified-Since headers, I ran into another fun issue. Suppose you want contents of a file cached on the client. The idea is to set the Last-Modified HTTP header, as described in the previous post. The browser will then send an If-Modified-Since header the next time this file is requested. You compare the two dates, and if they are one and the same, you send a 403 (“Not Modified”) status...

Category: ASP.NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 957 | Hits: 67

Similar Posts

  • Oredev Wrap-Up more
  • MSDN Guidance on ASP.NET MVC vs WebForms and its Impact on my EF + ASP.NET Work more
  • Designer v Xaml v Code more
  • Introducing Recurring Appointments for Web.UI Scheduler ASP.NET AJAX more
  • Linking Zune media items with LinQ, Part 1 (Matt Gertz) more
  • Data-binding Telerik CoverFlow for Silverlight + some Routed Commands goodness more
  • How to Make crossdomain.xml Work with SharePoint more
  • The ESRI Dev Summit 2010 hosted in Palms Springs CA is open for registration. more
  • MVC or Web Forms? A Dying Question more
  • Stumbling through: K2 blackpearl 090x (Part II) more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD