Adds a new item to the session-state collection.
Syntax
Parameters
- name
-
The name of the item to add to the session-state collection.
- value
-
The value of the item to add to the session-state collection.
Remarks
Requirements
Namespace: System.Web.SessionState
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0