<%@ Page Language="vb" %>
<html>
<head>
<script runat="server"> Sub Page_Load()
Message.Text = "The current Session state mode is: " & _
Session.Mode.ToString() & ".</br>" End Sub
</script>
</head>
<body>
<asp:label id="Message" runat="server"/>
</body>
</html>