Jump to content

User session end detection


rafpic62

Recommended Posts

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);

Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...