Merge remote-tracking branch 'origin/jetty-7' into jetty-8

This commit is contained in:
Jan Bartel 2013-05-06 13:22:26 +10:00
commit 488c1755e0
1 changed files with 13 additions and 10 deletions

View File

@ -295,6 +295,8 @@ public class JDBCSessionManager extends AbstractSessionManager
{ {
super.complete(); super.complete();
try try
{
if (isValid())
{ {
if (_dirty) if (_dirty)
{ {
@ -309,6 +311,7 @@ public class JDBCSessionManager extends AbstractSessionManager
updateSessionAccessTime(this); updateSessionAccessTime(this);
} }
} }
}
catch (Exception e) catch (Exception e)
{ {
LOG.warn("Problem persisting changed session data id="+getId(), e); LOG.warn("Problem persisting changed session data id="+getId(), e);