[dancer-users] New session on reload using Apache CGI

Andrew Beverley andy at andybev.com
Mon Feb 15 09:37:06 GMT 2016

On Sun, 2016-02-14 at 22:45 -0700, Warren Young wrote:
> On Feb 14, 2016, at 6:40 AM, Andrew Beverley <andy at andybev.com> wrote:
> > On Sun, 2016-02-14 at 13:02 +0000, mark jones wrote:
> > > For some reason I get a new session each time the page reloads
> > 
> > It sounds like you are using Session::Simple (the default), in which 
> > case the session will only be held in memory per-process. Try 
> > another session engine, such as Session::YAML.
> Alternately, run Apache as a reverse proxy to a constantly-running 
> Dancer app,

But you'd still have the same (or similar) problem, if you had more than
one process serving the proxy requests? The sessions would be stored per
-process, meaning that they would only be remembered if it was the same
process that served the same user each request.


More information about the dancer-users mailing list