I wonder if anybody else has come across this. I have a 1.8.7 moodle install using ldap for authentication. I've noticed that there is a disparity between the lastlogin time recorded in the user table and the stats held in user_lastaccess. For example, quite a number accounts have zero in lastlogin yet data in the user_lastaccess table. First of all I thought this could be explained by people “logging is as”, but the issue is too widespread for this. Any ideas?
Foolishly I made some use of last login in some custom code I did, and it has come back to bite me. I do understand, by the way, that last access and last login are not the same things.