Another Login Form Question

dear all masters,

I just learned Yii for about a week. So please help me, this is the scenario:

I want to make another login form that can check the user status (active user should have the status value of 1, and inactive is 0) and also it should have it own table in database like this one–> user (id_user, username, password, lastlogintime, lastloginfrom, status) which is means that it have to record the lastlogintime and lastloginfrom.

So the question is, how to make a login form that can record lastlogintime and lastloginfrom, which also able to check the user status?

Same Post!

http://www.yiiframework.com/forum/index.php/topic/36432-login-form/page__p__175375__fromsearch__1#entry175375

Hi you can implement it yourself you can take look it these articles might help you get a better understanding how it is done

http://www.yiiframework.com/wiki/356/how-to-create-front-and-admin-side-login-form

http://www.yiiframework.com/wiki/154/impersonate-users-within-yii-framework

yeah :) thanks for ur advance

Yes you can use wiki article as suggest above by alirz23 and written by VibhaJadwani from This Link,

and you can code your requirement on login time in [font="Menlo, Consolas,"]UserIdentity[/font][font="Menlo, Consolas,"] [/font]class. Please refer suggested wiki article.

thank you so much. it’s done already :))