summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2009-04-13 00:55:40 +0000
committerArtur Signell <artur.signell@itmill.com>2009-04-13 00:55:40 +0000
commitfb903bda4e82149e7f8ca2958664c481e3fb75fe (patch)
treea5537b335f679291993e21e538617e6b6d2edc0f
parentd0fdb4c63b9a89ae4b58e8956aab47d3e38bac12 (diff)
downloadvaadin-framework-fb903bda4e82149e7f8ca2958664c481e3fb75fe.tar.gz
vaadin-framework-fb903bda4e82149e7f8ca2958664c481e3fb75fe.zip
Workaround for #2835 - Force Google App Engine to re-serialize after each request.
svn changeset:7391/svn branch:6.0
-rw-r--r--src/com/itmill/toolkit/terminal/gwt/server/ApplicationServlet.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/itmill/toolkit/terminal/gwt/server/ApplicationServlet.java b/src/com/itmill/toolkit/terminal/gwt/server/ApplicationServlet.java
index 6fd6bfaa8c..17b6c66c45 100644
--- a/src/com/itmill/toolkit/terminal/gwt/server/ApplicationServlet.java
+++ b/src/com/itmill/toolkit/terminal/gwt/server/ApplicationServlet.java
@@ -578,6 +578,11 @@ public class ApplicationServlet extends HttpServlet {
((WebApplicationContext) application.getContext())
.endTransaction(application, request);
}
+
+ // Work-around for GAE session problem. Explicitly touch session so
+ // it is re-serialized.
+ request.getSession().setAttribute("sessionUpdated",
+ new Date().getTime());
}
}