asp.net - Tracking Urls User Has Visited During A Session -


I have an app with an anchor tag in it, I want to see what a user clicked during a session I thought that aspnet automatically saved the information here:

  string sessID = System.Web.SessionState.SessionID;   

But there is no such thing as a session IDID in the name of the session. Is this information saved automatically, if so, how do I use it?

This is my simple HTML

  & lt; Body & gt; & Lt; Form id = "form1" runat = "server" & gt; & Lt; Div & gt; Page 2 & lt; A href = "http://www.w3schools.com/" & gt; Go to W3Schools & lt; / A & gt; & Lt; Br / & gt; & Lt; A href = "http://www.yahoo.com/" & gt; Yahoos & lt; / A & gt; & Lt; / Div & gt; & Lt; / Form & gt; & Lt; / Body & gt;    

Unless these anchors are for client-side manipulation only and those round trips On the server, the IIS log is a place to view such information.

The following example shows the IIS log file entry, as seen in the text editor:

  192.168.114.201, -, 03/20/01, 7:55 : 20, W3SVC2, Server, 172.21.13.45, 4502, 163, 3223, 200, 0, Received, /DeptLogo.gif, -,   

All your users were made to the server Will be able to receive the request, so you need to parse the log to obtain the required information. More information

For other solutions see:



Comments