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?

diagram of each httpsession object having 1 or more vaadinsession objects of each has 1 or more ui objects

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

Popular posts from this blog

php - Zend Framework / Skeleton-Application / Composer install issue -

c# - Better 64-bit byte array hash -

python - PyCharm Type error Message -