[dancer-users] Fwd: Setting cookie_domain on the fly
Sawyer X
xsawyerx at gmail.com
Tue Mar 8 08:42:06 GMT 2016
On Sun, Mar 6, 2016 at 8:43 PM, Gabor Szabo <gabor at szabgab.com> wrote:
>
>
> On Sat, Mar 5, 2016 at 4:59 PM, Andrew Beverley <andy at andybev.com> wrote:
>>
>> On Sat, 2016-03-05 at 16:43 +0200, Gabor Szabo wrote:
>> > Hi,
>> >
>> > I'd like to server two separate domains from the same code-base and
>> > even the same process.
>>
>> Is this related at all?
>>
>> https://github.com/PerlDancer/Dancer2/issues/1035
>>
>> One suggestion I was given was to use Dancer2::Session::Cookie, which is
>> certainly an option for me, but I haven't explored it further.
>>
>> Andy
>
>
>
> That seems to be the same case.
>
> I tried Dancer2::Session::Cookie and it seems to work, but so far I could
> not convince it
> to store the session in the server. As I can see it stores everything in the
> cookie itself.
Dancer2::Session::Cookie explicitly saves it in the cookie - that's
why it's called "Cookie". It won't save it on the server.
This is not a bug, this is the exact intention of the module.
More information about the dancer-users
mailing list