Web Session Storage - Remove Method
Remove an item
Member of Web Session Storage (PRIM_WEB.SessionStorage)
Parameters
Name | Type | Data Type | Description |
|---|---|---|---|
Key | *Input | Unicode String | Key used to identify the item |
Details
The Remove method allows a stored item to be deleted using its Name.
Attempting to remove an item which does not exist will result in a run time failure.
Example
Removing a SessionStorage item.
If (#sys_web.SessionStorage<#Name> *IsNot *null)
#Value := #sys_web.SessionStorage.Remove<#Name>
Endif