login session expired

Hello,

I am new to Vaadin, and I need to fix code from some other guy that wrote application before me. I have the following problem and I dont know where the problem could be.

When user is logged in and session expires vaadin shows that message. “Session expired! Save any… click here to continue”. I click on continue and then I am redirected to login screeen. Here everything is still ok. But if I dont login in next xx minutes, when i want to login next time, i got message “session expired on login window”, but I don’t want to have this message because I wasn’t even logged in before.

I hope someone will understand what I mean and guide me to find solution, because I don’t know if my explanation in englih is good.

Thank you for help in advance!