I have a property DateTime LastSeenthat is stored in the database the last time the user was viewed.
DateTime LastSeen
I have one way to remember when to update the database is to do this while checking the user during login.
Another way is that I am going to update the database every 20 minutes, where do I put this logic in asp.net mvc? Do I need to set lastupdatea cookie and check this? Where can I check this cookie, except in global.ascx. file?
lastupdate
How do other systems do this?
Google Analytics . :
a) //-, HTTP- b) ajax (a) .
", , , , []"
, , , , , .
CreateOn, CreatedBy, ModifiedOn, ModifiedBy, , , , , " .
Source: https://habr.com/ru/post/1789062/More articles:ClickOnce Windows Forms application throws an exception when trying to update through CheckForDetailedUpdate () - c #The need to select a date for the application R - rjQuery AJAX call mousemove - jqueryБыстрый способ (или альтернативный путь) для динамической загрузки 40000 ссылок на карту изображения? - jqueryThe object does not support this property or method - jquery.min.js - internet-explorerUilabel text on every line - iphonesome problems parsing xml from webservice with JAXB - javaWhat is the easiest way to handle licensing for .NET applications? - c #Using the regular Windows Print dialog box instead of the Java dialog - javaSimple syntax error infuriating me - Ruby on Rails - ruby-on-railsAll Articles