Get session code page in C# : Session CodePage « Session Cookie « ASP.Net






Get session code page in C#

<%@ Page Language="C#" %>
<html>
   <head>
      <script runat="server">
         void Page_Load()
         {
            Message.Text = "Current Code Page is: " + Session.CodePage;
         }
      </script>
   </head>
<body>
   <asp:label id="Message" runat="server"/>
</body>
</html>

           
       








Related examples in the same category