rafpic62 Posted April 22, 2022 Share Posted April 22, 2022 Is possible to detect the session end? My solution need that I register when the user logs in and also when it exits from the app. How can I detect this last event ? Quote Link to comment Share on other sites More sharing options...
picyka Posted April 22, 2022 Share Posted April 22, 2022 4 minutes ago, rafpic62 said: É possível detectar o fim da sessão? Minha solução precisa que eu cadastre quando o usuário faz login e também quando ele sai do aplicativo. Como posso detectar este último evento? procedure TUniMainModule.UniGUIMainModuleDestroy(Sender: TObject); Quote Link to comment Share on other sites More sharing options...
irigsoft Posted April 22, 2022 Share Posted April 22, 2022 16 hours ago, rafpic62 said: Is possible to detect the session end? My solution need that I register when the user logs in and also when it exits from the app. How can I detect this last event ? Hello, there are many cases when the user closes the browser, loses the Internet (and others) but session is still active, In these cases you will not know when the user logout. I think the best way is to add a check of user activity. there are topics in the forum about this. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.