Furnace conversation scope
Furnace persistence layer
vocabulary implements conversation scope, which allows data to be passed between requests on a finer level of granularity than session scope.
Conversation scope is used by form validation to pass validation errors between requests.
To use conversation scope, wrap your responder in an conversation responder:
( responder -- responder' )
The conversations responder must be wrapped inside a session responder (
), which in turn must be wrapped inside a database persistence responder (
vocabulary combines all of these responders into one.
Managing conversation scopes:
( -- )
( -- )
( url -- response )
Reading and writing conversation variables:
( key -- value )
( value key -- )
( key quot -- )
Note that conversation scope is serialized as part of the session, which means that only serializable objects can be stored there. See
Session state serialization