ASP Session.LCID() - Session Object Gets or sets the locale identifier (LCID) of the current session.
ShotDev Focus:
- Locale identifier (LCID)
Syntax
<% Session.LCID %>
Example
asp_session_lcid.asp
<% Option Explicit %> <html> <head> <title>ShotDev.Com Tutorial</title> </head> <body> <% Response.write ("SessionID = " & Session.SessionID() &"<br><br>") Response.write("Default LCID = " & Session.LCID & "<br>") Response.write("Date Format = " & date() & "<br>") Response.write("Currency Format = " & FormatCurrency(100) & "<br><br>") Session.LCID = 1033 '*** English - United States ***' Response.write("English - United States LCID = " & Session.LCID & "<br>") Response.write("Date Format = " & date() & "<br>") Response.write("Currency Format = " & FormatCurrency(100) & "<br><br>") %> </body> </html>
Create a asp file and save to path root-path/myasp/
Run
http://localhost/myasp/asp_session_lcid.asp
Screenshot
.
.
.