IIS log analysis - how to retrieve referer information

Posted by balalakshmi on Stack Overflow See other posts from Stack Overflow or by balalakshmi
Published on 2010-03-15T09:03:10Z Indexed on 2010/03/15 9:09 UTC
Read the original article Hit count: 392

Filed under:
|

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

© Stack Overflow or respective owner

Related posts about iis

Related posts about repeater