This documentation is archived and is not being maintained.

HttpSessionState.CodePage Property

Gets or sets the code page identifier for the current session.

[Visual Basic]
Public Property CodePage As Integer
[C#]
public int CodePage {get; set;}
[C++]
public: __property int get_CodePage();
public: __property void set_CodePage(int);
[JScript]
public function get CodePage() : int;
public function set CodePage(int);

Property Value

The code page identifier for the current session.

Remarks

CodePage is provided for compatibility with previous versions of ASP. ASP.NET does not store CodePage in session state. You can use Response.ContentEncoding.CodePage directly.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

HttpSessionState Class | HttpSessionState Members | System.Web.SessionState Namespace

Show: