Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

My client variables will not set

Client Variables

My client variables will not set

by  webmigit  Posted    (Edited  )
I'm rather ashamed to even have experienced this situation but I did.. and I figured it out for myself..

I got to work in an application that relied on client variables heavily.. So, not having the time to rebuild the application, any changes I made or subsites of it relied heavily on client variables..

I had a situation come up one day where I set client variables and although I could output them in the same document (application.cfm), I could not in included documents, the document that called application.cfm or onrequestend.cfm.

After some frustration, I was ready to start over, I went to the top of application.cfm, ready to highlight the <CFApplication> tag and found out the problem.

I didn't include a name of the application so variables would not carry beyond their local environment, no matter WHAT I felt like naming them..

CF Applications must have an application name.

Sometimes its the obvious things..

Tony
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top