Hi Ken
Thanks for the deep analysis. I should have added that the 'userid' field of the 'sessions' table is either 0 or contains the id of a user that exists and very recently logged in. All the 'timecreated' values are the present time. So I assume that those are the creation time of the session for each user.
So the data seem to be genuine. The question is why they are there in the database at all? Does Moodle save them temporarily in the database before creating the (longer-term) session file in moodledata/sessions? BTW, within a few hours the number or records has risen from 1 to 190.
Thanks for the deep analysis. I should have added that the 'userid' field of the 'sessions' table is either 0 or contains the id of a user that exists and very recently logged in. All the 'timecreated' values are the present time. So I assume that those are the creation time of the session for each user.
So the data seem to be genuine. The question is why they are there in the database at all? Does Moodle save them temporarily in the database before creating the (longer-term) session file in moodledata/sessions? BTW, within a few hours the number or records has risen from 1 to 190.