[dancer-users] Session Management with memcached in Dancer1

Attila Bárdi attila.bardi at gmail.com
Thu Apr 16 06:35:36 BST 2015


If you have multiple instances running or your app is behind a load
balancer on different hosts then you really need a caching system.
If you use only one instance then the cookie is fine.

On Thu, Apr 16, 2015 at 7:32 AM, Yitzchak Scott-Thoennes <sthoenna at gmail.com
> wrote:

> On Wed, Apr 15, 2015 at 3:16 PM, Andrew Solomon <andrew at geekuni.com>
> wrote:
>
>> Bill,
>>
>> Once a website with cookies is in production it needs caching systems
>> like Memcached or Redis for key-value data storage where you can access the
>> data from different processes.
>>
>
> Dancer::Session::Cookie doesn't use a backend at all; the session data is
> entirely stored in the (encrypted, signed) cookie.  There are obvious
> downsides to this, but not the ones you mention.
>
>
> _______________________________________________
> dancer-users mailing list
> dancer-users at dancer.pm
> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20150416/a2e450c2/attachment.html>


More information about the dancer-users mailing list