vaadin - How would a user have multiple `VaadinSession` objects for a single `HttpSession`? -
vaadin 7.2 , later offers static method:
vaadinsession.getallsessons( javax.servlet.http.httpsession httpsession )
the doc says:
retrieves vaadinsessions stored in given http session
how user ever have more 1 vaadinsession
per httpsession
? happen action performed user, or me programmatically in vaadin app?
the vaadinsession
stored inside httpsession
.
multiple vaadin apps in single .war
if deployment (a war file) contains more 1 vaadin applications (servlets), , user uses applications simultaneously, user's httpsession
contains more 1 vaadinsession
objects.
for example, war file contains 2 vaadin applications (servlet mappings), , users using both in chrome browser, httpsession
user contains 2 vaadinsession
objects. if applications deployed on separate war files, there httpsession
both applications , both sessions contains 1 vaadinsession
.
Comments
Post a Comment