1

I am using CakePhp4 and Authentication Plugin.
I have no clue for both.
What I want to achieve
When a user logs in, determine if that user is already logged in using another device then either prompt the user or logout the user
What I tried?

  1. Followed this doc
  2. Stored Session in database. Did exactly this
  3. This question might be a step in my objective but still no use.

What I couldn't do?
I made a custom session handler but the code is not affecting any thing.
Any hint is appreciated.

Chirag Arora
  • 357
  • 3
  • 13

0 Answers0