Forums

ASP

This topic is locked

chillisoft and .asp expire pages issue

Posted 30 Oct 2003 02:00:22
1
has voted
30 Oct 2003 02:00:22 Conrad Flyckt posted:
PROBLEM:
Often, after editing an "included" file, the change will not show up in your ASP page. The ASP engine will only pick up changes in an included file if it re-compiles the page that contains the #INCLUDE directive. Which can occur @ midnight for some reason.

CHILLISOFT SOLUTION:

You can force a re-compile of this page by "touching" the file, or by making a trivial change that updates the timestamp on the file.

This is obviously a pain since you can't really EDIT every page on the website that contains the include just so the changes show up.

& This....

For Sun Chili!Soft ASP versions 3.6.0 and lower, ASP includes are cached by the engine. You need to refresh the timestamp of the file calling the include.

If this is a defined ASP application, you can update the timestamp of the global.asa file to force the ASP server to refresh all pages (and includes).

#touch filename.asp
#touch global.asa


QUESTION:

Does anybody know how to "force a re-compile" or update the timestamp via the global.asa of a page? Is there a function or asp code that can do this???

HELP!!

Reply to this topic