Answer the question
In order to leave comments, you need to log in
How to disable auth_key cookie when authorizing to create (update) a session in Yii2?
i store sessions in the database, it is necessary to make it possible for the user to selectively delete the session (session) on one of the authorized devices
when the user has set rememberMe=false, the specific session from the database is easily deleted, but when rememberMe=true then even if the session is deleted from the database then he will create it anyway,
how can I get around this problem?
and another question .. after deleting the user's session on some other device, logout occurs only after the page is refreshed, how to make the logout be immediately without refreshing the page?
Answer the question
In order to leave comments, you need to log in
how to make logout immediately without refreshing the page?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question