Current session mode (VB.net)
<%@ Page Language="vb" %>
<html>
<head>
<title>Session property example</title>
<script runat="server">
Sub Page_Load()
Message.Text = "Current Session State Mode: " & Session.Mode.ToString()
End Sub
</script>
</head>
<body>
<asp:label id="Message" runat="server"/>
</body>
</html>
Related examples in the same category