mirror of
https://github.com/jetty/jetty.project.git
synced 2025-03-04 21:09:13 +00:00
Issue #1014
This commit is contained in:
parent
dc5edcac74
commit
0a19c13570
@ -792,13 +792,13 @@ public class SessionHandler extends ScopedHandler
|
|||||||
session.setExtendedId(_sessionIdManager.getExtendedId(id, request));
|
session.setExtendedId(_sessionIdManager.getExtendedId(id, request));
|
||||||
session.getSessionData().setLastNode(_sessionIdManager.getWorkerName());
|
session.getSessionData().setLastNode(_sessionIdManager.getWorkerName());
|
||||||
|
|
||||||
if (request.isSecure())
|
|
||||||
session.setAttribute(Session.SESSION_CREATED_SECURE, Boolean.TRUE);
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
||||||
_sessionCache.put(id, session);
|
_sessionCache.put(id, session);
|
||||||
_sessionsCreatedStats.increment();
|
_sessionsCreatedStats.increment();
|
||||||
|
|
||||||
|
if (request.isSecure())
|
||||||
|
session.setAttribute(Session.SESSION_CREATED_SECURE, Boolean.TRUE);
|
||||||
|
|
||||||
if (_sessionListeners!=null)
|
if (_sessionListeners!=null)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user