Auto Logout When Session Time Out?

just simple question: How to set Auto logout when session time out in Yii? Im trying to do the authorization.

In protected/config/main.php, set allowAutoLogin to false.

It’ not working