<% '******************************************************* '* ASP 101 Sample Code - http://www.asp101.com/ * '* * '* This code is made available as a service to our * '* visitors and is provided strictly for the * '* purpose of illustration. * '* * '* http://www.asp101.com/samples/license.asp * '* * '* Please direct all inquiries to webmaster@asp101.com * '******************************************************* %>

This text is in the server_target.asp file, but remember that the context from the calling page is passed when the target file is executed. That means that calls to things like Request.ServerVariables("SCRIPT_NAME") may not return the value you might expect.

Request.ServerVariables("SCRIPT_NAME"): <%= Request.ServerVariables("SCRIPT_NAME") %>

Even though the line of code being executed is actually located in server_target.asp, it's still running in the context of the original page which, in this case, is server_execute.asp.