Except that I do exactly what you said didn't work all the time.  I 
routinely create request or variable scoped vars in one include to be 
used in another.  The includes are serial, not nested.

So I don't know what your original problem was, but I'd be careful to 
check and make sure that the value being used in the second include is 
actually what's being set in the first, not in the index.

--Ben

Ian Sheridan wrote:
> Well let me be a little bit more descriptive. 
> 
> I have an "index.cfm" page that includes two files. I was then setting
> the REQUEST variable *in* the first include. In the second include I
> would then look for it. This did not work.
> 
> I now set the REQUEST variable in the "index.cfm" file first. Then set
> it in the first include and read it in the second include. This works.
> 
> So I gather from this experience that request is *inherited* from the
> parent document.
> 
> Application.cfm
> ----- index.cfm
> ---------- include.cfm
> 
> It only gets inherited. there is no creating it in a child include/file.
> 
> Ian


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Sams Teach Yourself Regular Expressions in 10 Minutes  by Ben Forta 
http://www.houseoffusion.com/banners/view.cfm?bannerid=40

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183292
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