So, when the user logs in, I set the user structure in their session, so I delete their login state. Using sessionTracker , I can get a specific user session and just delete the user structure in the current session.
app = application.getApplicationSettings().name; sessiontracker = createObject("java","coldfusion.runtime.SessionTracker"); sessionCollection = sessionTracker.getSessionCollection(app); userSession = sessiontracker.getSession(app, sessionID)); structDelete(userSession, "user");
Not sure if this is the best way to do this, but it seems to work for me. Hope this helps people.
Richard McKenna
source share