IIS 5 & IIS 6
How to add the repsonse header in classic asp?
Last post Jan 03, 2018 01:35 AM by Yuk Ding
Jan 02, 2018 02:33 PM|jimschan|LINK
I would like to create a custom response header via classic ASP. But I have no idea about how to achieve this. I have known that the IIS could rewrite or set the response header. So how could I set the response header programmatically so that I should
be able to control the expire time for the browser cache.
Thanks in adavance.
Jan 03, 2018 01:35 AM|Yuk Ding|LINK
You could use response.addheader()method to achieve this. In fact, you don't have to add the header to control the browser cache. You only need to set the Response.ExpiresAbsolute property in your web page like
Response.ExpiresAbsolute [= [date] [time]]