Best way to TimedOut with modal forms

  1. 6 weeks ago

    Paulo C

    Oct 31 Brazil

    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?

  2. Greg O

    Nov 1 Xojo Inc

    Just send

    ShowUrl(app.url)
  3. Paulo C

    Nov 1 Brazil

    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.

  4. 5 weeks ago

    Greg O

    Nov 2 Xojo Inc

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

    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.

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

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

or Sign Up to reply!