There is a project that is implemented on Yii2 and CS-CART. Yii2 on the front end, CS-CART on the back end. When logout occurs, an error occurs, how how if a session is logged to the cs-cart session is not destroyed and, accordingly, the user is considered logged in.
How to log out user?