soundX has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to get my head around the Dancer 2 framework and I'm having a hard time getting sessions to behave in the way that I want. I’m used to using CGI Session and storing sessions in a database and I’m trying to replicate that with Dancer 2. The Dancer::Session::DBI module looks like it is exactly what I need but it's a Dancer 1 module. The D2 module Dancer2::Session::DBIC seems to be more complicated to set up and requires a database schema, I'm not that familiar with ORM at the moment (I am trying to learn) but I don't want to use OO modelling for my database at the moment. I’m just not quite sure how to get started; do I need to use something like the SessionFactory module? Any help would be much appreciated.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Dancer 2 database session storage
by Anonymous Monk on Feb 08, 2015 at 05:53 UTC | |
by soundX (Acolyte) on Feb 08, 2015 at 08:30 UTC |