One Application instance for multiple sessions


In my application I have login screen, and after user enter credentials he will get inside application.

So if after user (after login) will do some actions in my app (ex. opens some form and start to edit it) and after this opens new tab in the same browser (or even close current tab and opens my application in the new one) he will resume to the last state (with than form and all data he enters will present there), it’s cool.

And what I want is. If user will open application in new browser (ex. after old browser crashes or on a diferent computer), enter credentials and log in. I want to find instance of aplication that he used before (application store user login name) and bind it with new session id.

Regards, Ilja