[dancer-users] Managing session in before hook

David Golden xdg at xdg.me
Wed Jun 19 00:15:37 BST 2013

On Tue, Jun 18, 2013 at 6:12 PM, Cymon <cymon.ML at gmail.com> wrote:
> what is the right way to manage session in a before hook?

You need to give us more details and sample code.  Where is your
before hook?  In your application?  Or in a plugin?  What are you
doing in your dispatcher?

FWIW, sessions aren't flushed (e.g. to disk) until an after hook, so
when you say "nothing is written", when are you checking?


David Golden <xdg at xdg.me>
Take back your inbox! → http://www.bunchmail.com/
Twitter/IRC: @xdg

More information about the dancer-users mailing list