I had this issue (more or less)You can set the cookie name in the before hookengine('session')->{cookie_name} = ‘my.dancer.cookie’;