System.Web.SessionState.HttpSessionState.CodePage Property

Gets or sets the character-set identifier for the current session.

Syntax

public int CodePage { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

A character set (code page) is used to interpret multi-byte character data, determining character value, and therefore sort order. Code-page settings apply only to multi-byte character data, not to Unicode character data.

This IHttpSessionState.CodePage property is provided for compatibility with earlier versions of ASP only. If you do not need to maintain backward compatibility with ASP pages, use the System.Web.HttpResponse.ContentEncoding property instead.

Requirements

Namespace: System.Web.SessionState
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0