Luis Majano Forums Notification: Post to Session Objects

Title: RE: Session Objects
Thread: Session Objects
Forum: Discussions
Conference: ColdBox
User: anabelfre

This is an application where the user can create and use any type of clinical
forms and store them in a database on different servers. Basically the user is
presented with a portal and he can choose the application (ultimately a
DataSource) that he wants to work with. Once the user clicks on the DataSource
to use, normally we will set a session variable and everything will work based
on that (we pass the DataSource. We keep application settings on the database.
We call each of the DataSource an instance of the application. Each instance has
many users at the same time.

To have several ColdSpring declarations is not
convenient because we are talking about a lot of components. It seems more
reasonable to be able to change the ColdSpring declarations on the fly and
create all the objects on the session.