faqts : Computers : Programming : Languages : Asp : ASP/VBScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

6 of 9 people (67%) answered Yes
Recently 6 of 9 people (67%) answered Yes

Entry

I am calling an asp file with #INCLUDE this file is called but does not return to the file

Mar 22nd, 2004 23:43
Jason Benson, Gabriela H,


2 Things, first if you just call an include file it is 'included' in 
the source of your page.  It doesn't actually go anywhere, execute the 
ASP file and return.
Look into the Server.Execute("mypage.asp") and the Response.Redirect
("mypage.asp") methods.
Server.Execute will run the page that you specify (while on your 
current page), while Response.Redirect will direct the browser to the 
page you specify.
HTH
jb



© 1999-2004 Synop Pty Ltd