Server.Execute method

Runs another ASP file as if it were a subroutine in the current file.

Usage

Server.Execute aspfile

Details

This method executes the specified ASP file, as if it were part of the calling file: all application, session, server, request, and response properties and methods from the calling page are available to the called page.

Tip

Server-side includes are always imported into an ASP, but using Server.Execute allows you to use only the modules you need.