Reaper of Souls
Reaper of Souls
CC#
Created by linqisnice on 7/18/2023 in #help
❔ Is there osme way to check if a user is active/online with aspnet core identity? (cookie)
That can work. On in your client you need to check the hub.disconnrcted function. Maybe implement a function to update your server that client has disconnected
117 replies
CC#
Created by linqisnice on 7/18/2023 in #help
❔ Is there osme way to check if a user is active/online with aspnet core identity? (cookie)
At the moment nop. I'm on mobile so I can't check any previous projects which implemented this kind of things.
117 replies
CC#
Created by linqisnice on 7/18/2023 in #help
❔ Is there osme way to check if a user is active/online with aspnet core identity? (cookie)
You can do that. Look into how notifications works and how a chat app is able to know when a message is there without a user interacting with it. Dotnet does have libraries to assist you with that
117 replies
CC#
Created by linqisnice on 7/18/2023 in #help
❔ Is there osme way to check if a user is active/online with aspnet core identity? (cookie)
It will work on it's own.
117 replies
CC#
Created by linqisnice on 7/18/2023 in #help
❔ Is there osme way to check if a user is active/online with aspnet core identity? (cookie)
With signalr or websockets. Connection doesn't need a user to interact with the application
117 replies
CC#
Created by linqisnice on 7/18/2023 in #help
❔ Is there osme way to check if a user is active/online with aspnet core identity? (cookie)
That should work.
117 replies
CC#
Created by linqisnice on 7/18/2023 in #help
❔ Is there osme way to check if a user is active/online with aspnet core identity? (cookie)
There is no straight answer with this one. You would need to create a new table or column where you can store the user last logged in time and use some sort of websocket to update it after some few seconds or after 5 mins. There are few ways you can go about this but it's not fun
117 replies