Skip to content

Commit

Permalink
add debug log when setting cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
xhanin committed Feb 3, 2015
1 parent 620b2ec commit e076409
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -155,6 +155,7 @@ private void updateSessionInClient(RestxResponse resp, RestxSession session) {
resp.clearCookie(restxSessionCookieDescriptor.getCookieSignatureName()); resp.clearCookie(restxSessionCookieDescriptor.getCookieSignatureName());
} else { } else {
for (Map.Entry<String, String> cookie : cookiesMap.entrySet()) { for (Map.Entry<String, String> cookie : cookiesMap.entrySet()) {
logger.debug("setting cookie: {} {}", cookie.getKey(), cookie.getValue());
resp.addCookie(cookie.getKey(), cookie.getValue(), session.getExpires()); resp.addCookie(cookie.getKey(), cookie.getValue(), session.getExpires());
} }
} }
Expand Down

0 comments on commit e076409

Please sign in to comment.