Skip to content

Commit

Permalink
Fixes #1436
Browse files Browse the repository at this point in the history
  • Loading branch information
gregw committed Mar 30, 2017
1 parent 2fafa1d commit 18f17ac
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1506,7 +1506,7 @@ public String changeSessionId()
s.renewId(this);
if (getRemoteUser() != null)
s.setAttribute(Session.SESSION_CREATED_SECURE, Boolean.TRUE);
if (s.isIdChanged())
if (s.isIdChanged() && _sessionHandler.isUsingCookies())
_channel.getResponse().addCookie(_sessionHandler.getSessionCookie(s, getContextPath(), isSecure()));
}

Expand Down

0 comments on commit 18f17ac

Please sign in to comment.