Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.4.0-RC2
-
None
-
None
Description
MemorySessionDAO
private ConcurrentMap<Serializable, Session> sessions;
public MemorySessionDAO()
{ this.sessions = new ConcurrentHashMap<Serializable, Session>(); }protected Session storeSession(Serializable id, Session session) {
if (id == null)
return sessions.putIfAbsent(id, session);
}
sessions.putIfAbsent(id, session)不存在的时候才会put值,当更新Session时不起作用