Catalyst::Plugin::Session::Store::CDBI

Catalyst::Plugin::Session::Store::CDBI contains CDBI sessions for Catalyst.
Download

Catalyst::Plugin::Session::Store::CDBI Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Jason Woodward
  • Publisher web site:
  • http://search.cpan.org/~jaos/Catalyst-Plugin-Session-Store-CDBI-0.03/lib/Catalyst/Plugin/Session/Store/CDBI.pm

Catalyst::Plugin::Session::Store::CDBI Tags


Catalyst::Plugin::Session::Store::CDBI Description

Catalyst::Plugin::Session::Store::CDBI contains CDBI sessions for Catalyst. Catalyst::Plugin::Session::Store::CDBI contains CDBI sessions for Catalyst.SYNOPSIS use Catalyst qw/Session Session::Store::CDBI Session::State::Cookie/; MyApp->config->{session} = { storage_class => 'MyApp::M::CDBI::Session', id_field => 'id', storage_field => 'storage', expires_field => 'expires', expires => 3600, need_commit => 0, }; # ... in an action: $c->session->{foo} = 'bar'; # will be savedCatalyst::Plugin::Session::Store::CDBI is a session storage plugin for Catalyst that uses Class::DBI.METHODSget_session_data store_session_data delete_session_data delete_expired_sessions setup_actions setup_sessionThese are implementations of the required methods for a store. See Catalyst::Plugin::Session::Store.serializeReturns the serialized form of the data passed in.deserializeReturns the deserialized data.CONFIGURATIONThese parameters are placed in the hash under the session key in the configuration hash.storage_classCDBI-subclass that represents the table that stores session-data.id_fieldColumn name for the primary key. Defaults to 'id'.storage_fieldColumn name used to store the serialized session data. Defaults to 'storage'.expires_fieldColumn name to store the expire time. Defaults to 'expires'.expiresSession time to live. Defaults to 3600.need_commitDefaults to 0. Set to 1 when the CDBI class has AutoCommit turned off. Requirements: · Perl


Catalyst::Plugin::Session::Store::CDBI Related Software