[thelist] ASP version of SSI

Casey Crookston thelist at lists.evolt.org
Wed Feb 19 17:01:01 2003


Casey asked:

I know there is a response.something object in VBScript which acts
very similar to a server side include, but the exact syntax escapes  me.

aardvark was kind enbough to ask:

why not just use includes?

To which Casey now replies:

Because includes can't be dynamic.  I figured it out:
server.execute("content/"&page&".html")  Using this I'm able to simply and
easily insert separate files depending on what page is being loaded.
Because SSI's are parsed by the server before VBScript, they don't have this
capability.

Casey