PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Authentication » LiveUser » Bug #4545

I would like to be able to count user logins.

Details

Request #4545I would like to be able to count user logins.
Submitted2005-06-07 18:45 UTC
Fromprices at dflytech dot com
StatusWont fix
PackageLiveUser
PHP Version5.0.4
OSFreeBSD 5.3
Roadmaps(Not assigned)

Comments

[2005-06-07 18:45 UTC] prices at dflytech dot com

Description:
------------
I would like to be able to count the number of times a user logs in. I have tried some external means, but they are all quite slow. The best way to do it would be to add it to the same mechanism that does lastlogin. I hacked it into the code of the MDB auth container, but it isn't pretty. I did it based on the optional field I added:

'logincount' => array('name' => 'logincount', 'type' => 'integer'),