Feature: #91738 - Introduce wrapper for sessionStorage
See forge#91738
Description
TYPO3 now ships a new module acting as wrapper for
session
. It
behaves similar to
local
, except that the stored data is dropped
after the browser session has ended.
Impact
The module
TYPO3/
is available to be used
to store data in the
session
.
API Methods
get
To fetch the data behind the key.(key) set
To set/override a key with any arbitrary content.(key, value) isset
(bool) checks if the key is in use.(key) unset
To remove a key from the storage.(key) clear
to empty all data inside the storage.() unset
to empty all data inside the storage with their keys starting with a prefixBy Prefix (prefix)