diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/session/Session.java b/jetty-server/src/main/java/org/eclipse/jetty/server/session/Session.java index e885c7bdada..83e12a2d51b 100644 --- a/jetty-server/src/main/java/org/eclipse/jetty/server/session/Session.java +++ b/jetty-server/src/main/java/org/eclipse/jetty/server/session/Session.java @@ -169,6 +169,7 @@ public class Session implements SessionHandler.SessionIf _handler = handler; _sessionData = data; _newSession = true; + _sessionData.setDirty(true); _requests = 1; //access will not be called on this new session, but we are obviously in a request }