Hello everyone,

I want to study the session life span in Yii from login to logout in order to properly assign/delete values & store it in the database.

Can anyone point me in some direction please.

Thank you all for your valuable time.



Looking at the right class were a start, I think ;)

Thanks man, I managed to find what I’m looking for by digging deeper.

I want to override the method beforeLogin, so I understand I should write my own WebUser class that extends CWebUser, however in …app/protected/config/main.php I already have a class associated with the user component that servers the Rights module. is there a way to include 2 classes ?