ASP 101 - Active Server Pages 101 - Web05
The Place ASP Developers Go!

Please visit our partners


Windows Technology Windows Technology
15 Seconds
4GuysFromRolla.com
ASP 101
ASP Wire
VB Forums
VB Wire
WinDrivers.com
internet.commerce internet.commerce
Partners & Affiliates














ASP 101 is an
internet.com site
ASP 101 is an internet.com site
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

ASP 101 News Flash ASP 101 News Flash





Sample HTML Code generated by the ASP:
<p>This text is right before the call to Server.Execute.</p>
<div style="color:#009900;">
<p>
This text is in the <strong>server_target.asp</strong> 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.
</p>
<p>
<strong>Request.ServerVariables("SCRIPT_NAME"):</strong> /samples/server_execute.asp
</p>
<p>
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.
</p>
</div>
<p>This text is right after the call to Server.Execute.</p>


Output

Samples
Home |  News |  Samples |  Articles |  Lessons |  Resources |  Forum |  Links |  Search |  Feedback

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers