Hi all, im doing a project that requires a LastLogin Date & Time that can be seen whenever a user logs on to the system. Currently im using manual codes. Can any1 guide me on codes to make it automatically detect lastlogin?
Below are my initial codes :
Thanks
Hello ,
How you are maintaining a login ? i mean are you using any authentication techniques ?
If you are using aspnet membership table for user management and authenticate user then there is already "LastLoginDate" column in "aspnet_Membership" table. save that date in session before authenticate user and use that date. Afret authentication LastLoginDate
will be updated.
And if you are not using membership table then you have to create a table which cane store date and time of login.
Tthanks everyone for trying to help me with my problems. I've managed to seek help around and solved it !
沒有留言:
張貼留言