<div dir="ltr">The Return::MultiLevel was merged. It should be out soon.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Oct 25, 2013 at 6:39 AM, Russell Jenkins <span dir="ltr"><<a href="mailto:russell.jenkins@strategicdata.com.au" target="_blank">russell.jenkins@strategicdata.com.au</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 24/10/13 11:19 PM, Gabor Szabo wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Answering myself:<br>
if instead of<br>
    redirect '/',<br>
</blockquote>
<br></div>
Redirection is "broken" in the Dancer2 0.09 and 0.10.<br>
(broken => it flags the response as halted, so the after hook that flushes the session and adds the cookie header doesn't get called.)<br>
<br>
There is a branch that uses Return::MultiLevel that restores this functionality waiting to to be merged.<br>
<br>
Hope that helps,<br>
  Russell<br>
--<br>
This UTC+13 timezone is like living in tomorrow.<div class="HOEnZb"><div class="h5"><br>
______________________________<u></u>_________________<br>
dancer-users mailing list<br>
<a href="mailto:dancer-users@dancer.pm" target="_blank">dancer-users@dancer.pm</a><br>
<a href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users" target="_blank">http://lists.preshweb.co.uk/<u></u>mailman/listinfo/dancer-users</a><br>
</div></div></blockquote></div><br></div>