aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/src/com/vaadin/server/VaadinService.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/com/vaadin/server/VaadinService.java b/server/src/com/vaadin/server/VaadinService.java
index 44e82b5898..05e79500bb 100644
--- a/server/src/com/vaadin/server/VaadinService.java
+++ b/server/src/com/vaadin/server/VaadinService.java
@@ -423,6 +423,8 @@ public abstract class VaadinService implements Serializable {
throws ServiceException {
VaadinServiceSession session = createVaadinSession(request);
+ VaadinServiceSession.setCurrent(session);
+
session.storeInSession(this, request.getWrappedSession());
// Initial locale comes from the request