only for RuBoard |
The System.Web.HttpApplicationState class (or application intrinsic object) enables access to persisted state information across user context boundaries but within a single application context boundary. Each application on the web server creates an instance of the HttpApplicationState class. Table A.7 shows the properties of the HttpApplicationState class, and Table A.8 shows its methods .
Property Name | Description |
---|---|
AllKeys | Exposes the keys in the HttpApplicationState collection. |
Contents | Provides reference to the HttpApplicationState collection object. |
Count | Gets the number of objects in the HttpApplicationState collection. |
Item | Provides access to an item in the HttpApplicationState collection object by name or index. |
Keys | Returns a collection of keys for the HttpApplicationState collection. |
StaticObjects | Returns objects declared in the global.asax file by the following tag:
|
Method Name | Description |
---|---|
Add | Adds an object to the HttpApplicationState collection. |
Clear | Removes all objects from the HttpApplicationState collection. |
Get | Gets an object from the HttpApplicationState collection by index or name. |
Lock | Locks access to the HttpApplicationState variable to enable synchronization. |
Remove | Removes a specific item from the HttpApplicationState collection. |
RemoveAll | Removes all objects from the HttpApplicationState collection. |
RemoveAt | Removes an object from the HttpApplicationState collection by index. |
Set | Updates the value of an object in the HttpApplicationState collection. |
UnLock | Unlocks access to the HttpApplicationState variable to enable synchronization. |
only for RuBoard |