Extend your users table to store current session id and last login time. Whenever an user logs in, create a new session id and overwrite the session id and last login time in the table. Perform checks against the session id in the database whenever the user request a secured page. If it differs, then log the user out.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community