<%@ Page Language="vb" %> <html> <head> <script runat="server"> Sub Page_Load() Session.Clear() Message.Text = "There are " & Session.Count & _ " items in the Session collection." End Sub </script> </head> <body> <form runat="server"> <asp:label id="Message" runat="server"/> </form> </body> </html>