Im new to yii and im doing a simple inventory application using and mssql. Id like to limit the number of minutes a user can stay logged in to the application, when the minutes elapse, the user should be logged out and the application displays the login page. Any idea how? Any one?
I have an app the is using sessions to store user info. Not using cookies (allowAutoLogon=>false) If I don’t do anything for a while I have to log in again. I believe there is a session->timeout() that has a default value of x number of seconds. Search the docs/web ‘Yii session timeout’ and see what you get.