You would get this issue if head.cfm is included with cfmodule or as a tag instead of cfinclude. Except for a change in scope I'm not sure how this could happen.
Blair On 7/3/08, David Heacock <[EMAIL PROTECTED]> wrote: > > I've got the strangest problem... I'm using a cheap CF hosting company > HostMySite.com. I have a page that sets a simple variable: > > <cfset product_name = "Smood"> > > then includes a file that does some stuff: > > <cfinclude template="/includes/head.cfm"> > > The strange thing is that head.cfm sometimes (not always, which is > odd) can't see the variable 'product_name' in the parent document. Am > I losing the plot or is this freaky? It's not that it gets the wrong > variable (like with a caching problem), it just can't see it at all > and throws a null pointer exception. > > > Any ideas here? > > > Cheers > > David Heacock > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---
