455476 - Persist updated session expiry time for MongoSessionManager

This commit is contained in:
Jan Bartel 2014-12-24 14:05:40 +01:00
parent fc42d5d4aa
commit 56b528145f
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ public class MongoSessionManager extends NoSqlSessionManager
if (currentMaxIdle != null && getMaxInactiveInterval() > 0 && getMaxInactiveInterval() < currentMaxIdle)
sets.put(__MAX_IDLE, getMaxInactiveInterval());
if (currentExpiry != null && expiry > 0 && expiry != currentExpiry)
sets.put(__EXPIRY, currentExpiry);
sets.put(__EXPIRY, expiry);
}
}