You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- Kill user sessions. You need to invalidate user cookie as well (change)DELETEFROM session WHERE user_id = :user_id;
-- Need to change auth key in user table afterwards else "remember me" cookie won't be invalidated.-- Get all users active in recent hourSELECT user_id FROM session WHERE last_write -3600< :now;
The text was updated successfully, but these errors were encountered:
See yiisoft/yii2#10404.
Could be solved by using DB sessions and writing additional info into the table:
Then it's easy to work with it via SQL:
The text was updated successfully, but these errors were encountered: