persistent_setΒΆ

Set a value in the Zotonic visitor record.

Required arguments are key and value.

Returns a key/value tuple to confirm that the value has been set:

{
    "key": "foo",
    "value": "bar"
}

See also

persistent_get

Previous topic

persistent_get

Next topic

recompile

Versions

Actions