server_storage
Model to access the server side storage of data.
See the module documentation of mod_server_storage for information.
Available Model API Paths
| Method | Path pattern | Description |
|---|---|---|
get | / | Return all non-secure server-storage key/value pairs for the current session id via z_server_storage:lookup/2. No further lookups. |
get | /+key/... | Return value for session key +key from non-secure server storage (or not_found/no_session error). |
post | /+key | Store payload under session key +key in non-secure server storage; starts storage for the session when missing. No further lookups. |
delete | /+key | Delete key +key from non-secure server storage for the current session. No further lookups. |
delete | / | Delete all non-secure server-storage keys for the current session. No further lookups. |
/+name marks a variable path segment. A trailing /... means extra path segments are accepted for further lookups.