iron-session
iron-session copied to clipboard
How to access stored sessions of my users?
Discussed in https://github.com/vvo/iron-session/discussions/699
Originally posted by rudrabhikadiya3 January 30, 2024 I am using this in Nextjs page router. In order to access my user's sessions I have to see the stored session in server so I can access it.
In case, if the user is doing bad activity in my web app so I can delete his session so he will automatically logout and I will block him through the database then he retry to login then his status will be blocked.