Sitecore 5.0 API

State Class

Sitecore maintains a state about the current webpage (in the Items collection) and about the current session (in the Session collection).

Typical information include the current user, the current web item, the current master item, the current layout etc.

The State class encapsulates both the Items and Session collections.

For a list of all members of this type, see State Members.

System.Object
   Sitecore.Configuration.State

[Visual Basic]
Public Class State
[C#]
public class State

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Requirements

Namespace: Sitecore.Configuration

Assembly: Sitecore.Kernel (in Sitecore.Kernel.dll)

See Also

State Members | Sitecore.Configuration Namespace