Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Include file string Question
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

dssww
Junior Member

USA
182 Posts

Posted - 05 June 2001 :  08:27:11  Show Profile  Visit dssww's Homepage
Can a forum variable be used?
like this:

<!--#include file="<%=strForumURL%>config.asp"-->

Doesn't work for me, ASP & me clueless togeather! lol

I can't get it to work.



Edited by - dssww on 05 June 2001 10:02:50

RaiderUK
Average Member

United Kingdom
577 Posts

Posted - 05 June 2001 :  09:03:57  Show Profile  Send RaiderUK a Yahoo! Message
it cannot be done, because the engine includes all Include files before processing any asp.

Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 05 June 2001 :  16:21:26  Show Profile
On the other hand, there is server.execute for IIS5 (win2k), which can take a dynamically generated string and execute the code in the asp script named by the string.

Have a look at:

http://support.microsoft.com/support/kb/articles/Q224/3/63.ASP


Think Pink
Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 06 June 2001 :  04:10:43  Show Profile
Server.Execute doesn't solve all problems. First, it's only available on IIS5 which eliminates it's use unless you have a controlled server environment. Another issue is the scope of variables, from what I hear.


======
Doug G
======
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 13 June 2001 :  17:45:38  Show Profile
quote:

Server.Execute doesn't solve all problems. First, it's only available on IIS5 which eliminates it's use unless you have a controlled server environment. Another issue is the scope of variables, from what I hear.


======
Doug G
======



Didn't think of that scope issue. It may be another interesting hard problem...

Think Pink
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07