<%@ 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>