This method is analogous to a procedure call in VBScript, except that instead of executing a procedure, an ASP file is being executed. Just like with the Server. Transfer method, the destination file has access to the same set of intrinsic objects as the originally requested file, and the URL in the browser remains the same. Figure 7 Server. Execute The ASP file file1.asp is processed until the Server.
Execute method is called.
The script then executes the code in file2.asp and sends the session value to the client. When it s finished processing file2.asp, it returns to file1.asp and continues where it left off, writing the string foo to the browser. Transfer and Server. Execute methods, the ASP intrinsic objects are transferred and maintained. In addition, these methods support the transaction flags.