I am creating an application, and while testing it i noticed something odd. When I log out, using Application.Exit(); – it takes me back to the login screen. But if i leave it there for a few minutes I get the standard “Session is about to expire” message with the count down. Has something changed in the latest WiseJ release ? I don’t think I am having this issue on an application I deployed last year.
So – does this mean the session is really still active when you do an Application.Exit();?
Application.Exit() removes the session immediately and informs the client that the session is terminated.
The client removes all objects from the page. Now you are left with only 2 options: 1) leave a blank page; 2) reload and let the application restart. We received several requests to reload since a blank screen is not optimal.
If you let the new session expire that you get the built-in user inactivity form. You can override the behavior and decide what to at every step. You can override the SessionTimeout event on the server, you can override the client behavior and load an html page, etc. If you load a new Wisej page or window than you get a new session.
Sessions are not related to your application’s login. Loggin in or not is an application’s behavior.
Please login first to submit.