Hi all, I have concluded a sample Flex application where a user logs in (or registers) in the application.
I use the Tomcat servlet container plus BlazeDS RPC component and Hibernate persistence to connect to MySQL database. A new user first registers by filling the Registration form. The database is updated for First Creation Timestamp, along with user's UserName and Password. A returning user fills a (similar) Login form. The database is updated for Login Timestamp. When the user does a normal Logout, the database is updated with Logout Timestamp. On User's Logout the User_Loged session time is summed in UserTotalLoged time. My problem is that I need dispatch/listen (?) an event in an abrupt case, like the user instead of doing a normal logout simply closes the browser, or the client/server connection is just lost. Then I have to update the database that the user status is Logout. I hope this description is clear enough for some indications/help. Thank you all George

