And a little more staring at the dump revealed the solution.
Instead of sending the cookie in the header back tot he server
I need to set an environment variable:

$ENV{HTTP_COOKIE} = $cookie;
my $r3 = dancer_response GET => "/";
is $r3->content, "get $t";

If you'd like to see this in action check out the repository:
https://github.com/szabgab/cookies


Gabor
_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users

Reply via email to