[dancer-users] New session on reload using Apache CGI
Warren Young
wyml at etr-usa.com
Mon Feb 15 05:45:06 GMT 2016
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, as described in the Dancer deployment guide:
https://goo.gl/pEVzcH
Then you can continue to use fast in-memory sessions.
More information about the dancer-users
mailing list