View Full Version : Server.Execute
medmuseum
05-31-2003, 10:31 PM
does this code work with PWS (personal web server) ?
<% Server.Execute("file.asp") %>
and what is the difference between it & this ?
<!--#include file="file.asp"-->
Bullschmidt
06-02-2003, 12:36 AM
No, but it should work in ASP version 3.0 in IIS.
And here's an interesting resource:
New Directions in Redirection: Microsoft Internet Information Services 5.0 Provides Two New Methods for Redirection by Ram Papatla
http://msdn.microsoft.com/msdnmag/issues/0400/redir/redir.asp
ASP3.0's Server.Transfer (instead of Response.Redirect) and Server.Execute work on IIS5 which is on Win2000.
And of course you could do:
Response.Redirect "file.asp"
And you may need this at the top of the page:
<%
Response.Buffer = True ' Buffer content so Response.Redirect will work.
%>
vBulletin v3.0.3, Copyright ©2000-2012, Jelsoft Enterprises Ltd.