]> source.dussan.org Git - vaadin-framework.git/commitdiff
Allow browser details request to initialize a new session (#9652)
authorArtur Signell <artur@vaadin.com>
Tue, 18 Sep 2012 09:49:26 +0000 (12:49 +0300)
committerArtur Signell <artur@vaadin.com>
Tue, 18 Sep 2012 09:49:26 +0000 (12:49 +0300)
server/src/com/vaadin/server/VaadinServlet.java

index 9372a08e10ac1640562d6cb9e258f37604190183..fd95852c6ae6399e0d54ffdb75aa20d98bd4be51 100644 (file)
@@ -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)