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.
However, if you think this should be all done as application variables, I'll just work that way. On Thu, Jul 5, 2012 at 3:22 PM, Matthew Woodward <[email protected]> wrote: > On Thu, Jul 5, 2012 at 1:19 PM, Jason King <[email protected]> wrote: >> >> I can see the declared application variables (application.host) in the >> dump, but in my 'variables' dump I don't see 'host'. > > > "See" where? You don't say where/when/what you're dumping to check. Have you > tried referring to the variable on a .cfm page to see if it's there? > > As I said I'd have to test but I don't see why that wouldn't work since > Application.cfm is more appropriately thought of as OnRequestStart.cfm so > the net effect should be the same. > > The "right" way to do it would be declare that variable as an application > variable and change your code accordingly, in which case this is irrelevant. > > -- > 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 -- online documentation: http://openbd.org/manual/ http://groups.google.com/group/openbd?hl=en
