rschaeferhig
IS-IT--Management
I'm using CDO to construct a mail message using the method:
msg.CreateMHTMLBody("URL")
where URL points to an HTML file on an IIS web server. I send the message and the content agrees with what's on the web server. I make a change to the web page, run my ASP page again to build and send a new message and I get the old content. I tried adding the Cache-Control/no-cache and Pragma/no-cache Meta tags to the web page with no luck. The only thing that seems to force the web server to serve the changed page is restarting the web server, an unacceptable tactic.
Anyone run into this and/or have any idea on how to get the IIS web server to stop caching these pages?
This app is scheduled for production on Monday so any help would be greation appreciated.
msg.CreateMHTMLBody("URL")
where URL points to an HTML file on an IIS web server. I send the message and the content agrees with what's on the web server. I make a change to the web page, run my ASP page again to build and send a new message and I get the old content. I tried adding the Cache-Control/no-cache and Pragma/no-cache Meta tags to the web page with no luck. The only thing that seems to force the web server to serve the changed page is restarting the web server, an unacceptable tactic.
Anyone run into this and/or have any idea on how to get the IIS web server to stop caching these pages?
This app is scheduled for production on Monday so any help would be greation appreciated.