Unexpected "Session Expired" message in an embedded app

Hello everyone!

I have a Vaadin application embedded on a web page using [font=courier new]

[/font] element, set according to the [url=https://vaadin.com/book/vaadin7/-/page/advanced.embedding.html#advanced.embedding.div] "11.2.1. Embedding Inside a div Elemen" [/url]. Originally the app was written for Vaadin 7.1.15 and worked correctly. But when Vaadin's version is changing to number >= 7.2.0 (up to 7.3.8), the app has unexpected behaviour.

I’ll try to decsribe when it happens:

  1. A user just logged in on a web site and moved to a web page with the embedded app.
  2. The page is fully loaded and the app too.
  3. When the user click on some UI control element of the app then the “Session Expired” system message appears immediately.
  4. The user can’t do anything except click on the message to reload the page.
  5. After reloading the app works correctly until app server reloaded (I use Tomcat 7).

Some notes:

  • There are no problems when an [font=courier new]