Updated Branches: refs/heads/wicket-6.x cf99053f8 -> ed3db1d55
WICKET-5473 Wicket does not handle non in-memory Httpsessions correctly Mark the session dirty when incrementing the sequences for bound sessions Project: http://git-wip-us.apache.org/repos/asf/wicket/repo Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/ed3db1d5 Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/ed3db1d5 Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/ed3db1d5 Branch: refs/heads/wicket-6.x Commit: ed3db1d5516b700471aacdfd1244dec2d52ea4d8 Parents: cf99053 Author: Martin Tzvetanov Grigorov <[email protected]> Authored: Thu Jan 30 09:41:40 2014 +0100 Committer: Martin Tzvetanov Grigorov <[email protected]> Committed: Thu Jan 30 09:41:40 2014 +0100 ---------------------------------------------------------------------- wicket-core/src/main/java/org/apache/wicket/Session.java | 8 ++++++++ 1 file changed, 8 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/wicket/blob/ed3db1d5/wicket-core/src/main/java/org/apache/wicket/Session.java ---------------------------------------------------------------------- diff --git a/wicket-core/src/main/java/org/apache/wicket/Session.java b/wicket-core/src/main/java/org/apache/wicket/Session.java index a4395cc..4ae07e2 100644 --- a/wicket-core/src/main/java/org/apache/wicket/Session.java +++ b/wicket-core/src/main/java/org/apache/wicket/Session.java @@ -867,6 +867,10 @@ public abstract class Session implements IClusterable, IEventSink */ public synchronized int nextSequenceValue() { + if (isTemporary() == false) + { + dirty(); + } return sequence++; } @@ -876,6 +880,10 @@ public abstract class Session implements IClusterable, IEventSink */ public synchronized int nextPageId() { + if (isTemporary() == false) + { + dirty(); + } return pageId++; }
