There is no way to keep a function in the global.asa file. You could keep the name of the include and use the server.execute() command to include it like so:
Code:
server.execute(application("includeFileName"))Bear in mind that this will only work with ASP 3. But trying to use the application object in an include code will not work, like so:
Code:
<!--#include file="<%=application("includeFileName")%>"-->This is becuse the server-side include is executed BEFORE the ASP is, so it would create an "include page not found" error
Hope that this helps