[dancer-users] Erroneous session-cookie setting behaviour in Dancer2

Henk van Oers hvo.pm at xs4all.nl
Sun Mar 3 16:52:47 GMT 2013


On Sun, 3 Mar 2013, Punter wrote:

> What if a website's ethical policy is that it doesn't track users after 
> they've logged-out?

I do not want to set a session cookie in that case.

> How can it prove that to the users, if it installs a new cookie then?

I solved this problem by making 2 websites:
- "static" no session
- "dynamic" other hostname, other config.yml


> On 03/03/2013 05:55 PM, Rik Brown wrote:
>> That sounds like it's working correctly. You got a new empty session and
>> a cookie for it. I don't think it's expected that you won't get a cookie
>> if your session is empty.

Sorry, it IS expected.

It would be nice if one can start sending cookies
only for some routes.

-- 
Henk


More information about the dancer-users mailing list