It sounds like it wasn't always being set in the first include. Regardless of what file a request variable is set in, it is available to all subsequent code. I may be off a bit with regard to CFCs, but that's how I understand it.
--Ben Ian Sheridan wrote: > well that's the thing I am setting it in include not the index.cfm file. > > so I created it in the index.cfm file NOT the included file and it now works. > > Ian > >>Sure, as long as you set it before you call it of course >> >>-----Original Message----- >> >>can you set a request scope variable in an include? >> >>ex. >>-----index.cfm >>----------include1.cfm --> set request.test >>----------include2.cfm --> read request.test >> >>can this be done? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.houseoffusion.com/banners/view.cfm?bannerid=11 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183286 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