On Thu, Jul 5, 2012 at 1:23 PM, Jason King <[email protected]> wrote:
> I have full debug settings on, so I'd expect the 'host' variable to be > visible in the dump from any .cfm request I have. > A quick experiment shows that if you don't also have an onRequest() method being used anything declared in the variables scope (i.e. no explicit scope specified) is not shared with the request. So you'd either have to use an onRequest() method (which I wouldn't recommend unless you need it for other reasons) or you'd have to explicitly declare your variable to be in the request scope (<cfset request.host = "foo" />), in which case it's shared but you'd have to refer to it with the request. prefix for it to be found. > > However, if you think this should be all done as application > variables, I'll just work that way. > That's the better approach anyway. -- Matthew Woodward [email protected] http://blog.mattwoodward.com identi.ca / Twitter: @mpwoodward Please do not send me proprietary file formats such as Word, PowerPoint, etc. as attachments. http://www.gnu.org/philosophy/no-word-attachments.html -- online documentation: http://openbd.org/manual/ http://groups.google.com/group/openbd?hl=en
