[Catalyst] Session::Store::DBIC and session table (postgres)

Francisco Obispo fobispo at isc.org
Wed Nov 14 20:56:55 GMT 2012


Use:

$c->model('GUS::WebappSession') as the name.

or in the config:


<Plugin::Session>
  dbic_class GUS::WebappSession
  id_field id
  storage_field session_data
  expires_field expires
  need_commit 0
  expires 3600
  verify_address 1
</Plugin::Session>


francisco


On Nov 14, 2012, at 12:51 PM, Fernan Aguero <fernan.aguero at gmail.com> wrote:

> 
> The new classes are slightly different:
> lib/GUS/Webapp/Sessions.pm (old)
> lib/GUS/Result/WebappSession.pm (new)

Francisco Obispo 
Director of Applications and Services - ISC
email: fobispo at isc.org
Phone: +1 650 423 1374 || INOC-DBA *3557* NOC
PGP KeyID = B38DB1BE




More information about the Catalyst mailing list