Hello All,
On a project I'm building for a client, one of the requirements is advanced user tracking. The client would like to know what pages an authenticated user is visiting, and when. I read through this post, which is probably the method I will go with. However, that seems a bit tolling on the database, and being that the client may use Azure to host this, I would like to keep the # of db transactions to a minimum [although this was not one of his requirements... just a favor i guess :) ]. Anyway, I'm torn between the following two methods... please advise what you all feel is best and what the pros / cons of either method might be. Or suggest any alternative methods I may have missed.
- Method One: Log to db on every HTTP request using a HTTP module
- Method Two: Store in visits in session and log everything to database in one swoop during Session_End event