[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
SessionHandling: "Smooth" return to login screen  XML
Forum Index -> Development
Author Message
hilka

Power User

Joined: 23/11/2007 09:00:08
Messages: 191
Offline

Hello,

we built our own session management for managing the users logged in to our application. There is a timeout for inactive sessions after wich the session is invalid.

The idea was to return to login screen when session is inactive/invalid. The problem is that when the session timed out and the user clicks somewhere in the GUI, the framework tries to resolve the properties associated with the action triggered. But since the session is invalid, the beans are in some unexpected state (we re-instantiate the workplace bean).
And therefore the framework produces different kinds of exception.

Does anyone have some good ideas to this problem? Or is it easier to just display some kind of timeout message and force the user to reload the application?

Tobias
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team