Print Page | Close Window

Server.Execute vs. Include

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=4954
Printed Date: 30 March 2026 at 4:29pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Server.Execute vs. Include
Posted By: Bliss
Subject: Server.Execute vs. Include
Date Posted: 12 August 2003 at 8:35am
What's the difference?



Replies:
Posted By: MorningZ
Date Posted: 12 August 2003 at 8:45am
try running a search.. this discussion has been talked about many many times

-------------
Contribute to the working anarchy we fondly call the Internet


Posted By: Bliss
Date Posted: 12 August 2003 at 9:55am
I already did a search and all I've found is that server.execute can be dynamic. Is there anything else?


Posted By: MorningZ
Date Posted: 12 August 2003 at 10:29am

using includes, the ASP treats ALL the code from all the included pages like it was one big asp page... as a result, all script in any of the includes have access to variables and functions in the page calling them, as well as the query string and post form fields

using execute, it's just run on its own off to the side, does not have access to variables and functions from the page calling it, but does still have access to query string and post fields



-------------
Contribute to the working anarchy we fondly call the Internet


Posted By: Bliss
Date Posted: 12 August 2003 at 10:43am
Thanks.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net