Session.IsCookieless : Session class « Sessions « ASP.NET Tutorial






<%@ Page Language="vb" %>
<html>
   <head>
      <script runat="server">
         Sub Page_Load()
            If Session.IsCookieless Then
               Message.Text = "The current Session does not use cookies."
            Else
               Message.Text = "The current Session uses cookies."
            End If
         End Sub
      </script>
   </head>
<body>
   <asp:label id="Message" runat="server"/>
</body>
</html>








11.2.Session class
11.2.1.Session.Mode
11.2.2.Session.Abandon()
11.2.3.Use Session and Server.Transfer to create a wizard
11.2.4.Session.CodePage
11.2.5.Session.Contents.RemoveAll()
11.2.6.Session.CopyTo
11.2.7.Session.IsCookieless
11.2.8.Session.IsNewSession
11.2.9.Session.IsReadOnly
11.2.10.Session.Item
11.2.11.Session.Keys
11.2.12.Session.LCID
11.2.13.Session.Remove
11.2.14.Session.RemoveAll
11.2.15.Session.RemoveAt
11.2.16.Session.StaticObjects
11.2.17.Session.Timeout