IIS log analysis - how to retrieve referer information
- by balalakshmi
Per this documentation http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/676400bc-8969-4aa7-851a-9319490a9bbb.mspx?mfr=true
, it says cs(Referrer) contains the referer information that can be read from the IIS log
I am trying to display the log information using a asp.net repeater control:
<asp:Repeater ID="rptlIISLogEntries" runat="server">
...
...
<ItemTemplate>
<tr>
<td><%# Eval("time")%></td>
<td><%# Eval("cs(Referrer)")%></td>
Eval("cs(Referrer)" throws an error
DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'cs'.
my Question:
how to display the referer information in the repeater