Add a more functional (i.e. fewer-stubs) implementation of System.Data.Linq.
[mono.git] / mcs / class / System.Web / Test / standalone / anonymousid / anon.aspx
1 <%@ Page Language="C#" %>
2
3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
5 <script runat="server">
6   void Page_Load(object sender, EventArgs e)
7     {
8       if (Application["UserCount"] != null)
9       {
10           lblUserCount.Text = Application["UserCount"].ToString();
11           lblCurrentUser.Text = Request.AnonymousID;
12       }
13   }    
14 </script>
15
16
17 <html>
18 <head runat="server">
19     <title>AnonymousID Example</title>
20 </head>
21 <body>
22     <form id="form1" runat="server">
23     <div>
24         Number of users: 
25         <asp:Label ID="lblUserCount" Runat="server"></asp:Label><br />
26     Current user:
27         <asp:Label ID="lblCurrentUser" Runat="server"></asp:Label><br />
28     </div>
29     </form>
30 </body>
31 </html>