Have you actually tried to include several different application files in
one request??? I have not tried it. Part of me things that it wouldn't be a
problem as they are all different names and will create their own
APPLICATION scopes when included, so they will not overwrite each other. 

If they do NOT create their own APPLICATION scopes, then I would advise
against any sort of StructDelete() or StructClear() or whatever as you will
be dealing with the APPLICATION scope of an existing application. Just cause
you include it into another file doesn't mean that you are "borrowing" the
data; you are creating an extension of that application's code base and
using the same memory space. 

A gangy solutions might be to have one page that runs through the different
application.cfm files and for each of them, it does a CFHTTP grap to a file
called ApplicationDump.cfm which would take a file path in the URL and would
include the application.cfm file and dump out the application scope. This
way, each CFHTTP call, while slower than including, would have it's own
memory space.


.......................
Ben Nadel 
www.bennadel.com

-----Original Message-----
From: Munson, Jacob [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 16, 2006 6:40 PM
To: CF-Talk
Subject: RE: recursive includes

You probably want to use the StructDelete function. 

> -----Original Message-----
> From: Turetsky, Seth [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 16, 2006 2:31 PM
> 
> I'm wanted to write a small utility to manage our applications here, 
> just to display all of the variables used in the application.cfm's.
> 
> Sounded easy, I'm using cfdirectory and including each application.cfm 
> and just dumping the variables.  Problem is that by the last 
> application, it is all variables used by all the applications.
> 
> Is there a way to clear out the variables before displaying the next?

This transmission may contain information that is privileged, confidential
and/or exempt from disclosure under applicable law. If you are not the
intended recipient, you are hereby notified that any disclosure, copying,
distribution, or use of the information contained herein (including any
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission
in error, please immediately contact the sender and destroy the material in
its entirety, whether in electronic or hard copy format. Thank you. A1.





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240743
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to