You can store anything in an application variable as long as it can be represented as a string. Just remember that CF variables are only available on the server. When the page is complete and returned to the browser, Javascript & Java can't see these variables.
If you're going to store some type of path that you pass through <cfobject>, you shouldn't have any trouble. You probably want to store it as an application variable if you want it to be the same across all users. If it will vary between users, then a session variable would be best. Just remember to use locking around any session/application variables though as they are considered a shared scope.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.