Lets take your example of a multi-lingual site. One way is to have a CFC to provide the data that the user will see and that object is cached for that user. i.e. that is his instance of the CFC. The CFC holds his language choice as well as the functions to access language specific content.
The other way is to have a variable in the users session saying that he gets content in a certain language and when accessing the general CFC (cached in the application var) that var is passed in.
What's the difference?

>well if you're storing some data/function specific to that user it makes
>perfect sense, say pulling in locale specific resources (resource bundles,
>culture-specific formatting, etc.) on a multi-lingual website for instance.
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to