The application I am working on converting to WiseJ has a dashboard mode that displays data and is not clicked on by a user. How can I stop the session from timing out?
can you please try attached sample.
As long as the timer runs, the session will not timeout on the server but you still need to handle Application.SessionTimeout (see code in sample) because the client will still fire sessionTimeout if it doesn’t detect user activity.
We also have a bug with the timing that is being fixed. The client considers a mouse movement as a sign that the user is alive, but it doesn’t tell the server and the session may still expire.
Hope that helps.
you can react on a session timeout by adding a handler like this in VB.NET:
AddHandler Application.SessionTimeout, AdressOf YourFunction
Handle Applicaton.SessionTimeout on the server. I’m not sure if you have to do something else. I haven’t tried this scenario. Frank will verify and get back to you. If his office in Germany is dry.
I’m OOTO until middle of next week.