I need to store an ID against a user that will be used in EVERY action that is carried out on my web application. I had hoped to use a customized authorization ActionFilterAttribute (on an entire controller) to populate the ViewData with this additional info, but it turns out that a whole STACK of stuff runs before these ActionFilterAttributes do e.g. ModelBinding, Controller construction
I thought perhaps there may be a way to extend the HttpContext.User.Identity to store additional data but have no idea even where to start.
Any ideas?
 
     
    