What selection of solution do I have if I want to launch particular piece of code for logged in user, but not more often then once per day (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?
Ah, and also that event result is particular JavaScript code being rendered to user's page. So I need HttpResponse instance when the event is launched.
Thanks,Pawel