sessions
sessions copied to clipboard
How to change the value of redis
The user's role is saved in the session, the session is stored in redis. I want to change the role of the user in role management. How can i do it?
session.set -> session.save or what do you mean?
I wrote a user-managed module that can modify the role of the specified user. The modified result is stored in the database, and the user needs to log in again to update the session. I want to update the session directly.