In this wiki I will show how could logout from all other sessions or all other places.
In this wiki I will show how could logout from all other sessions or all other places.
In this wiki I will show how could be store last login date & time in database. First we need a field LastLoginTime (Type must be datetime). this field store a user login detalis (like - Date & Time).
When talking about cookie-base login the Yii guide indicates the following:
Lets say we have 3 modules (customer, user, admin) in an application and we need, separate logins for each module.
Like gmail, if you have tree or more unsuccessful login attemps a captcha appears
Getting "Expired token" errors ? Here is a solution to avoid invalid CSRF on POST or ajax requests, or user identity changes.
This solution requires Yii 1.1.9 or above
In this article I will show you how to implement a secure password hashing mechanism in your Yii projects using a bCrypt class.