String encodeControlState(b(a) fn, a state, String prefix="")
Arguments
fn: The function to callstate: The state to passprefix: An optional prefix to the control variables. Different components may use different prefixes, allowing multiple Webapp::runHandler functions. In this context it performs the same role as the marshalling ID - if you are calling this function directly you almost certainly don't need it.
Usage
Encode an application state into a string. This is useful with Webapp::storeFunction for constructing shorter URLs, or allowing someone to resume a process at a much later date.