LCID

The LCID property determines the location identifier that will be used to display dynamic content.

Syntax

Session.LCID(=LCID)

 

Parameters
LCID
A valid locale identifier.
Remarks

An LCID specifies the locale identifier, which is a standard international abbreviation that uniquely identifies one of the system-defined locales. If an LCID has been set using the @LCID directive Session.LCID will override the value set by the directive.

Example

The following example demonstrates setting the locale to British English and using the VBScript FormatCurrency method to display the value 125 as currency with the £ symbol:

<%

  Session.LCID = 2057

  Dim curNumb

  curNumb = FormatCurrency(125)

  Response.Write (curNumb)

%>



Applies To

Session Object

For more information, see Accommodating International Clients and Locale Identifiers.