SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Guru
    Join Date
    Sep 2004
    Location
    Provo, UT
    Posts
    858
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    How to keep track of user logins

    How do most of you keep track of the number of logins your website gets each day? Do you have a login table with a column for the userID and date? The current method I have, by keeping the last login date in the main user table, is not a good method I'm learning.

    Thanks!
    Convert your dollars into silver coins. www.convert2silver.com

  2. #2
    SitePoint Addict
    Join Date
    Oct 2008
    Posts
    205
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have a seperate table where I store user login in history, where I store user login time, logout time and the Ip from which the user login. The table will have last three days record

  3. #3
    SitePoint Guru
    Join Date
    Sep 2004
    Location
    Provo, UT
    Posts
    858
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Just curious, why does your table only show the last three days. Wouldn't it be better to show the last 3 or 4 months? That way you can keep an eye on daily averages and such.
    Convert your dollars into silver coins. www.convert2silver.com


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •