Journalizing
-
Anyone knows a good way to record specific information about what a user do in our WebSite. I need to send this info to the IIS log. I can't send it to a Database, only IIS. I just want to know where to start looking. Thanksin advance. :-D sebastien.lachance.blogspot.com
-
Anyone knows a good way to record specific information about what a user do in our WebSite. I need to send this info to the IIS log. I can't send it to a Database, only IIS. I just want to know where to start looking. Thanksin advance. :-D sebastien.lachance.blogspot.com
Hi there. It looks like you might want to use the HttpResponse.AppendToLog[^] method. Since the
Page
object gives you theResponse
property, you can use the following line anywhere in your page code to append to the IIS log:Response.AppendToLog("String of text to append.")
This article, Tracking Visitors with ASP.NET[^] on 15seconds.com shows this type of logging with an in depth example.