CatalystX::Usul::PersistentState - Set/Get state information on/from the session store


CatalystX-Usul documentation  | view source Contained in the CatalystX-Usul distribution.

Index


Name

Top

CatalystX::Usul::PersistentState - Set/Get state information on/from the session store

Version

Top

0.3.$Revision: 576 $

Synopsis

Top

   use CatalystX::Usul::PersistentState;

Description

Top

Uses the session store to provide state information that is persistent across requests

Subroutines/Methods

Top

get_key

   my $value = $self->get_key( $c, $key_name );

Returns a value for a given key from stash which was populated by load_keys

load_keys

Recovers the key(s) for the current endpoint. First it will look at then request parameters, if they are not set it will look in the session store, if that is not set then it will use the configuration defaults if they exist, inflating values from the stash if necessary

reset_keys

   $self->reset_keys( $c );

Resets this requests keys in the stash

session_key

   $self->session_key( $c );

Returns the session store key for the current controller

set_key

   $self->set_key( $c, $key_name, $value );

Sets a key/value pair in the session store

Diagnostics

Top

None

Configuration and Environment

Top

None

Dependencies

Top

CatalystX::Usul::Base

Incompatibilities

Top

There are no known incompatibilities in this module

Bugs and Limitations

Top

There are no known bugs in this module. Please report problems to the address below. Patches are welcome

Author

Top

Peter Flanigan, <Support at RoxSoft.co.uk>

License and Copyright

Top


CatalystX-Usul documentation  | view source Contained in the CatalystX-Usul distribution.