How can I add last-modified headers to an asp page?

  • Thread starter Thread starter Bill
  • Start date Start date
B

Bill

Guest
Does anyone know of an easy way to add Last-Modified headers to asp pages? I want the Last-Modified headers to be in the format:

Last-Modified: Tue, 15 Nov 2008 12:45:26 GMT

The time and date should be the current time and date in GMT. The server is on CST, which is GMT-6

The pages currently produce an Expires header, which browsers assume to be the Last-Modified date. However, for an advertising program I want to start up, I need to have the actual Last-Modified header sent out.

I have seen various things on the web, including:

http://www.webmasterworld.com/forum47/1395.htm
http://www.15seconds.com/issue/970911.htm

and neither of them tells me what I need to know.

Thanks,
Bill
The OS is Windows 2003 Server using IIS 6.0.
 
Back
Top