Best way to TimedOut with modal forms

Hello guys.

I have some modal forms in my web application, when the session triggers the TimedOut event, I do not know how to close all the modal dialogs and go back to the login screen.

I tried using session.close but this ends all sessions, including other online users;

Could someone help me with this?

Just send


Thank you Greg; but now, I can not understand why all users on other computers are kicked out when I close a local session.

I’m not sure how to have an individual section per computer.

The only thing I can think of is that your app is crashing when you call Session.Close because that definitely doesn’t close all sessions.

You don’t have to do anything. It’s automatic.