I am creating a log file for my app and I need to distinguish between a user login in as normal via the login form and a user that has been logged in using Yiis "allowAutoLogin" system. Can anyone help?
I am creating a log file for my app and I need to distinguish between a user login in as normal via the login form and a user that has been logged in using Yiis "allowAutoLogin" system. Can anyone help?
Extend CWebUser and override afterLogin() which has a $fromCookie parameter. Required functionality can be implemented right here or ,alternatively, an event can be raised from here and handled elsewhere.