Open In App

ASP Session LCID Property

The ASP Session LCID Property is used to set or get the locale identifier of a page that will be sent to the Browser. It sets or returns an integer that specifies the location or region contents like date, time, and currency of the region that will be displayed according to the location of a region. It is also known as local identifier Property. 

Syntax:



Session.LCID(=LCID) 

Parameter Values:  

Example: Below code demonstrates the use of the Local Identifier.






<%
response.write("
<p>")
response.write("Default LCID is: " & Session.LCID & "<br>")
response.write("Date format is: " & date() & "<br>")
response.write("Currency format is: " & FormatCurrency(100))
response.write("</p>
") 
%>

Output:

Default LCID is: 2048
Date format is: 12/11/2001
Currency format is: $100.0 
Article Tags :