Fixes #1436
This commit is contained in:
parent
2fafa1de0f
commit
18f17ac102
|
@ -1506,7 +1506,7 @@ public class Request implements HttpServletRequest
|
||||||
s.renewId(this);
|
s.renewId(this);
|
||||||
if (getRemoteUser() != null)
|
if (getRemoteUser() != null)
|
||||||
s.setAttribute(Session.SESSION_CREATED_SECURE, Boolean.TRUE);
|
s.setAttribute(Session.SESSION_CREATED_SECURE, Boolean.TRUE);
|
||||||
if (s.isIdChanged())
|
if (s.isIdChanged() && _sessionHandler.isUsingCookies())
|
||||||
_channel.getResponse().addCookie(_sessionHandler.getSessionCookie(s, getContextPath(), isSecure()));
|
_channel.getResponse().addCookie(_sessionHandler.getSessionCookie(s, getContextPath(), isSecure()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue