1 <%@ Page Language="C#" %>
3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5 <script runat="server">
6 void Page_Load(object sender, EventArgs e)
8 if (Application["UserCount"] != null)
10 lblUserCount.Text = Application["UserCount"].ToString();
11 lblCurrentUser.Text = Request.AnonymousID;
19 <title>AnonymousID Example</title>
22 <form id="form1" runat="server">
25 <asp:Label ID="lblUserCount" Runat="server"></asp:Label><br />
27 <asp:Label ID="lblCurrentUser" Runat="server"></asp:Label><br />