Date header returned by IIS7 is wrong

Posted by James Hollingworth on Server Fault See other posts from Server Fault or by James Hollingworth
Published on 2010-12-30T10:22:00Z Indexed on 2010/12/30 10:55 UTC
Read the original article Hit count: 313

Filed under:
|
|

I am serving an ASP.NET application from IIS 7 but we are experiencing some weird cookie issues. The code works fine in other environments so we are assuming this is specific to this server (related question).

We have been looking at the http headers returned and someone pointed out that the date http header is showing the 1st of Jan rather than today's date (so far it always shows that date regardless of what the current date is). The system clock is set correctly (and we can print out the current time/date via DateTime.Now correctly as well) so we can't work out why it's now working. Does anyone have any ideas? Is this a red-herring?

Thanks, James

© Server Fault or respective owner

Related posts about iis

Related posts about ASP.NET