title: Trigger event automatically once per 24h / per user in ASP .NET Application
body: <p>What selection of solution do I have if I want to launch particular piece of code for logged in user, <strong>but not more often then once per day</strong> (it can change in the future to run once per 6 hours though). I though about setting a cookie that will store a date when code was launched the last time, but I still have to check that cookie's value with every request in global.asax when request start event is raised. Are there any other more efficient solutions?</p>
  
  <p>Ah, and also that event result is particular JavaScript code being rendered to user's page. So I need <strong>HttpResponse</strong> instance when the event is launched.</p>
  
  <p>Thanks,Pawel</p>