I want to know how many times a user has logged in until a given date in Drupal 7. Is this possible?


I don't think drupal keeps that data as standard. You might want to look at User Stats Module which does it for you.

Provides commonly requested user statistics for themers, IP address tracking and Views integration. Statistics are:
1. days registered;
2. join date;
3. days since last login;
4. days since last post;
5. post count;
6. login count;
7. user online/offline;
8. IP address;

  • one more favour. i can see the count in database. In drupal site where can i find the logged message. i have seen reports but i can't find anywhere – Cindrella Jul 9 '12 at 12:36
  • 1
    On Drupal Answers, it's best to ask one question per post. Comments are for clarification to the original question, not for asking new questions. If you want to ask a new question, just click "Ask question" again and create a new question. You'll get better answers that way, too. – Patrick Kenny Jul 9 '12 at 13:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.