Skip to content

Commit

Permalink
detect site by header
Browse files Browse the repository at this point in the history
  • Loading branch information
madness-inc committed Dec 17, 2021
1 parent 77d342a commit 3e30293
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -89,7 +89,7 @@ boolean commit(Session session, String alternativeSiteName) throws IOException {
long start = System.currentTimeMillis();
SessionData currentSessionData = null;
if (hzSession.isDirty() || getPersistentSessions().get(session.getId())
.checksum() != (currentSessionData = hzSession.serialize()).checksum()) {
.checksum() != (currentSessionData = hzSession.serialize(alternativeSiteName)).checksum()) {
SessionData sessionData = null == currentSessionData ? hzSession.serialize() : currentSessionData;
getPersistentSessions().set(session.getId(), sessionData);
if (log.isDebugEnabled()) {
Expand Down

0 comments on commit 3e30293

Please sign in to comment.