On 09/11/2015 02:43 PM, Richard Reina wrote: > I am trying to get Deferred to work but keep getting: > > Error 500: core - Must specify session engine in settings prior to > using 'session' keyword at > /home/richard/perl5/lib/perl5/Dancer/Plugin/Deferred.pm line 26. > Powered by Dancer2 <http://perldancer.org/> 0.161000 > > I have used the command: set session => 'YAML'; to set the session. I > have also tried session: "YAML" in my config file. Is there something > else I must do? > > > _______________________________________________ > dancer-users mailing list > [email protected] > http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
According to the https://metacpan.org/pod/Dancer2::Session::YAML the configuration for sessions should look like that: |session: ||"YAML"| |engines:| | ||session:| | ||YAML:| | ||session_dir: ||"/tmp/dancer-sessions"| | ||cookie_duration: 3600 ||# Default cookie timeout in seconds|
_______________________________________________ dancer-users mailing list [email protected] http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
