Re: [Actionframework-users] severe bug in session cleanup
Status: Inactive
Brought to you by:
ptoman
From: Petr T. <Pet...@pi...> - 2003-01-28 19:24:43
|
> I guess i'd suggest instead something like this: > > public void destroySession(String sessionId) { > destroySession(sessionId, true); > } > > protected static final CHECK_RECURSION = true; >[...] You cannot use a static variable, because it could be shared among several ActionRuntime instances - maybe yes, maybe no - but it's not safe. I released AS 0.94beta2 with my "hack", but we may improve this solution for the next version. I think that the same mechanism AS uses for mapping sessions-to-threads would be a "clean work" :) -Petr -- [ http://dione.zcu.cz/~toman40 - Pet...@pi... - ICQ=22957959 ] |