Hi,
i developed a admin panel in yii and that is working fine but when session expired it will not redirect to login page,
Please any one can tell me how i will achieve that in yii properly.
Thanks
Page 1 of 1
Session Expire redirect page to login when session expires
#2
Posted 30 April 2013 - 10:41 AM
You must use rules() method with accessControl() then DENY access to ANONYMOUS (?) or all users (*) and grant to role admin. That way if your user is anonymous it will be redirected to login, else he will see 403 Forbidden.
Share this topic:
Page 1 of 1

Help











