SessionStorage
From Lianjapedia
Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages.
Properties
| Property | Access (R/RW) | Value | Description |
|---|---|---|---|
| dataChanged | R | Character | The name of the delegate procedure (procedure or .prg) for the session data changed event |
| dataChangedInterval | R | Numeric | The interval in msecs that checks for session data changes will be made at runtime |
| length | R | Numeric | Number of key/value pairs in sessionStorage |
Methods
| Method | Args | Description |
|---|---|---|
| clear | None | Clear sessionStorage of all key/value pairs |
| getItem | key as Character | Return the value of the item with the specified key |
| removeItem | key as Character | Remove the item with the specified key |
| setItem | key as Character, value as Expression | Create an item with the specified key and set its value |