Strategies to change database when user disconnect #8204
JSmithOner
started this conversation in
General
Replies: 1 comment 4 replies
-
@JSmithOner Supabase Realtime recently announced the Presence feature. You can use that to track a user across open sessions and perform some action when user has closed all their sessions. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I know I can use authentication state changes and maybe (I don't know about that) realtime state changes to know if a user disconnect but I would like to knw if anyone has strategies when user closes all open sessions or token expires completly, in order to perform operations on the database?
Many thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions