background preloader

Yii-Framework

Facebook Twitter

Db414896927 » adm_users. Simple RBAC. If you need simple Role based access control without the long RBAC process then this article is just for you.

Simple RBAC

Lets jump to the point. The user model ¶ On your user table make a column named 'roles'. Using loginRequiredAjaxResponse to solve ajax session timeout. This solution requires Yii 1.1.9 or above The problem: A user has no activity for a longer period of time and the php session times out.

Using loginRequiredAjaxResponse to solve ajax session timeout