[IDEA] Element With Session Scope

Build something similar to what in Java is equivalent to Session Beans.
A Session Element (allows you to load data from the database only once the user logs on) avoids repeating the database query, drastically decreasing the load time and CPU load on the server.

At the same time this elements must be accessible from any part of the project.

There are possibility for this?