15 Feb
2016
15 Feb
'16
5:45 a.m.
On Feb 14, 2016, at 6:40 AM, Andrew Beverley <andy@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, as described in the Dancer deployment guide: https://goo.gl/pEVzcH Then you can continue to use fast in-memory sessions.