summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-09-18 12:49:26 +0300
committerArtur Signell <artur@vaadin.com>2012-09-18 12:49:26 +0300
commitfba2fa761488d3d45523fc9f570b51820e607f15 (patch)
tree229d18d75807bd904a2ecc04e73fdfc37352a3d2 /server
parenta4759263699274d88a4f5744cd49f27028087ccd (diff)
downloadvaadin-framework-fba2fa761488d3d45523fc9f570b51820e607f15.tar.gz
vaadin-framework-fba2fa761488d3d45523fc9f570b51820e607f15.zip
Allow browser details request to initialize a new session (#9652)
Diffstat (limited to 'server')
-rw-r--r--server/src/com/vaadin/server/VaadinServlet.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/src/com/vaadin/server/VaadinServlet.java b/server/src/com/vaadin/server/VaadinServlet.java
index 9372a08e10..fd95852c6a 100644
--- a/server/src/com/vaadin/server/VaadinServlet.java
+++ b/server/src/com/vaadin/server/VaadinServlet.java
@@ -677,7 +677,10 @@ public class VaadinServlet extends HttpServlet implements Constants {
* without using the bootstrap page.
*/
return true;
-
+ } else if (requestType == RequestType.BROWSER_DETAILS) {
+ // This is the first request if you are embedding by writing the
+ // embedding code yourself
+ return true;
} else if (requestType == RequestType.OTHER) {
/*
* I.e URIs that are not application resources or static (theme)