Provided by: kaya_0.4.4-6ubuntu3_amd64 bug

NAME

       Webapp::storeFunction - Save application state persistently.

SYNOPSIS

       String storeFunction( String(String) storer, b(a) fn, a state )

ARGUMENTS

       storer  A function that stores the state (which will be encoded as a String) and returns a
       key that can be used to retrieve it.

       fn The function to call when the state is retrieved.

       state The state to pass to fn

DESCRIPTION

       This lets you save application state and a handler function to an external source, and get
       a key to retrieve it later. The storage function should throw an exception if it is unable
       to  store  the  state.  Otherwise  it  should  return  a  key  that  can  be   used   with
       Webapp.retrieveFunction  (3kaya)  to execute the state later. This lets you make URLs much
       shorter than is possibly by passing the state directly.

       You may need to consider expiring old and unused states from your  persistent  storage  if
       they have not been retrieved for some time.

AUTHORS

       Kaya  standard  library  by  Edwin Brady, Chris Morris and others (kaya@kayalang.org). For
       further information see http://kayalang.org/

LICENSE

       The Kaya standard library is free software; you can redistribute it and/or modify it under
       the  terms  of the GNU Lesser General Public License (version 2.1 or any later version) as
       published by the Free Software Foundation.

RELATED

       Webapp.runHandler (3kaya)
       Webapp.retrieveFunction (3kaya)