Was wondering how people handle shared session variables acrossed multiple
applications. For example, let say you have an admin section of your site with
multiple sub-applications (Meaning different cfapplication names), yet you only
want to store one copy of an Employee instance (Employee.cfc) in the session
scope.

- One thought is to switch up the cfapplication tag inside a page that needs
access to the variable, and then switch it back right after you're done with it.

<cfapplication name="appOutside">
access shared variable and do some stuff

<cfapplication name="appOriginal">
now i'm back in my sub-app

- Another is to use the same cfapplication name across all sub-apps, which I
really don't like.

- The last that comes to mind would be to make use of the sessionTracker
object...

<cfscript>
tracker = createObject("java", "coldfusion.runtime.SessionTracker");
s1 = tracker.getSessionCollection("EmpAdmin");
</cfscript>

Would like to know how others are handling this, if at all. Is there a better
way to go about it?

Thanks