I have an admin module on which I use ‘stateKeyPrefix’=>’_admin’.
In my main application logout function I use Yii::app()->user->logout(false).
This means I can logout from the application but stay logged in to admin module.
However I also want to clear all session variables that have been set using Yii::app()->session But remain logged in to admin module. How can this be achieved?