Is there a way to pass data between users on a CF site?
I know that I can use the session variable to pass data throughout the user's actual session, but is there an application variable that works similar to the session variable?
You hit the nail on the head with your question. There is an Application scope in the same way there is a session scope.
If you declare a variable (using locking and all that around the variable) and assign it to the application scope, then that variable will be available to all users of that application. Remember to put a CFapplication somewhere in your site (application.cfm is best)
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.