Title: RE: Global variables
Thread: Global variables
Forum: Need Help?
Conference: ColdBox
User: sanaullah73 Hi Tony,
Global variables handling is totally up to your
requirements/implementation: you could use
Application-Scope/Session-Scope/Client-Scope
If your Global-Vars are static
then you can also use config.xml.cfm as <settings>
If you are looking to
store CFC then read this.
http://ortus.svnrepository.com/coldbox/trac.cgi/wiki/cbObjectFactory
You
can also use coldbox caching to store your global-vars.
http://ortus.svnrepository.com/coldbox/trac.cgi/wiki/cbCachingExample
Please let us know if there still any confusion.