[dancer-users] Dancer2 sessions and cookies?

Gabor Szabo gabor at szabgab.com
Thu Oct 24 13:19:34 BST 2013


Answering myself:
if instead of
   redirect '/',
I call
    template 'index'
after setting the session, then it works as expected.
(Well, except that the URL now stays as it was which is not that nice).

As far as I can understand from the Dancer2 docs, this should work
with redirect as well.

Gabor


More information about the dancer-users mailing list