jeudi 12 novembre 2015

ASP.NET current Session object - inject log logic

In the app I am working on we are using an InProc ASP.NET SessionState object.

I'd like to find a way to log a message whenever some code reads or writes into the Session object.

I am aware of the Item[] index, and I suppose I should inject the code somehow.. or maybe inherit the HttpSessionState class?

Options, ideas, experience...?

Aucun commentaire:

Enregistrer un commentaire