Support the ongoing development of →
Laravel Session Sanctum
Last updated 1 year ago.
moderator Solution

If you use the database driver you could create a model for the sessions table (important note, it doesn't have the default timestamps) With that you could load it like any other data and list or delete it.

Small warning: if you want to change the payload (the data stored in the session) you need to be careful because you can damage that session and create strange situations. But showing the sessions with data like ip and user_agent and deleting other sessions should be possible.


Sign in to participate in this thread!


Your banner here too?


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.