parent
e16b7948b2
commit
f139b66d63
|
@ -696,7 +696,7 @@ public class ServletContextRequest extends ContextRequest
|
|||
if (getRequestedSessionId() == null || _coreSession == null)
|
||||
return false;
|
||||
//check requestedId (which may have worker suffix) against the actual session id
|
||||
return getSessionManager().getSessionIdManager().getId(getRequestedSessionId()).equals(_coreSession.getId());
|
||||
return _coreSession.isValid() && getSessionManager().getSessionIdManager().getId(getRequestedSessionId()).equals(_coreSession.getId());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -1511,7 +1511,7 @@ public class Request implements HttpServletRequest
|
|||
if (getRequestedSessionId() == null || _coreSession == null)
|
||||
return false;
|
||||
|
||||
return (_sessionManager.getSessionIdManager().getId(getRequestedSessionId()).equals(_coreSession.getId()));
|
||||
return (_coreSession.isValid() && _sessionManager.getSessionIdManager().getId(getRequestedSessionId()).equals(_coreSession.getId()));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue