title: How to track user online status?
body: <p>I would like to capture the following parameters:</p>
  
  <p>lastAccessedTime - The time when the user visited the site the last time (usually shown during the login process)</p>
  
  <p>isOnline - A boolean to represent if a user is online or not.</p>
  
  <p>a. Would it make sense to have these variables as part of the User table itself or should this be handled via a separate user audit table?</p>
  
  <p>b. If certain SOAP / REST API's expose the functionality via API calls, how do you track the above parameters (e.g. Would you modify the lastAccessedTime in such cases - this might confuse the user if he logs into the portal, isOnline bit also will not make sense if the user does API calls).</p>