If you're using ASP3.0, you can use Server.Execute "file.asp" (this can
occur conditionally; not quite the same as cfinclude, but close enough)

-- 
Billy Cravens
[EMAIL PROTECTED]

David Huyck wrote:
> 
> I, too, am moving into an ASP-shop job.  I have done very little sniffing,
> but one of the major snafus in ASP (VBScript, really) is the lack of an
> "include" function that doesn't run before compile time.  That is, to
> include a file in ASP, you have to use SSI (<!---#include
> file="filename.asp" -->), which occurs before the ASP engine gets to look at
> the page.  That means that your conditionals will not decide whether or not
> to include the file, they will decide whether or not to process the code
> that has already been included.  That's poopy.  Major overhead increase.
> 
> If anyone knows of a way to work around that issue, I might consider not
> trying to get my new employer to switch to CF or PHP or JSP.  Otherwise, I
> am planning on being a rebel without a clue...
> 
> David Huyck
> [EMAIL PROTECTED]
> 
> > ASP sucks so hard it's not even funny, but I have to use it on my current
> > project (they threw buckets of money at me). I know fusebox.org says info
> on
> > doing asp fusebox is coming, but I can't wait. Has anyone done much of it?
> > Any hints you'd like to share so I don't run into deadends? Thanks!
> 
> ------------------------------------------------------------------------------
> To Unsubscribe visit 
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
>message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to