code

ASP Server side Execute

Server.execute executes as ASP file from with in an ASP File
to demonstrate this lets create two files
1. main.asp
2. executed.asp
main.php
<%
response.write(“From main.asp<br>”)
Server.Execute(“date.asp”)
response.write(“<br>Again from main.asp”)
%>
executed.asp:
<%
response.write ” <br> From Executed.asp”
%>
and when execute main.asp
Output:
From main.asp
From Executed.asp
Again from main.asp
First line from main.asp
second from executed.asp
and third again from main.asp

Server.execute executes as ASP file from with in an ASP File
to demonstrate this lets create two files1.main.asp2.executed.asp

main.php
<%response.write(“From main.asp<br>”)Server.Execute(“date.asp”)response.write(“<br>Again from main.asp”)%>
executed.asp:
<%response.write ” <br> From Executed.asp”%>

and when execute main.asp
Output:
From main.asp
From Executed.aspAgain from main.asp
First line from main.aspsecond from executed.aspand third again from main.asp

Published by

abhilash

a gadget and internet addict , a red hat certified linux administrator with skills in dataware development and online technologies., follow me on twitter @abhilashsnair

One thought on “ASP Server side Execute”

  1. Pingback: abhilash

Comments are closed.