ASP.Net/Session Cookie/Session Local ID
Версия от 18:30, 26 мая 2010; (обсуждение)
Session Current locale ID (VB.net)
<source lang="csharp">
<%@ Page Language="vb" %> <html>
<head> <script runat="server"> Sub Page_Load() Message.Text = "Current locale ID is: " & Session.LCID & "</br>" Message.Text &= "Current date and time is: " & DateTime.Now() & "</br>" Session.LCID = 1036 "France Message.Text &= "Current locale ID is: " & Session.LCID & "</br>" Message.Text &= "Current date and time is: " & DateTime.Now() & "</br>" End Sub </script> </head>
<body>
<asp:label id="Message" runat="server"/>
</body> </html>
</source>