Which version of Dancer?
Hi,in a Dancer application I have sessions turned on in config.ymlIf the route calls template(), the session is created and the cookie is sent.If I just "return 42" from the route without calling template(), the session is not created,cookie is not sent.I can force-create the session and the cookie by calling session('anything')but I was wondering, is this behavior (that it is template() that sets the cookie) on purpose?regardsGabor
_______________________________________________
dancer-users mailing list
dancer-users@dancer.pm
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users