[dancer-users] Ajax session handling
Joerg Fallmann
fall at tbi.univie.ac.at
Fri Oct 30 09:36:44 GMT 2015
Hi,
I am currently using some routes in my app that render a template,
which then fires some ajax queries which I catch in ajax routes via
Dancer2::Plugin::Ajax.
For deployment I use Starman with 10 workers.
My question now is, what is the best way to make sure that ajax queries
stay within the right session?
The ajax routes use variables which I set in the other routes and are
available within the same session,
but when using Starman, how do I make sure that the ajax calls stay
within the session the template comes from
that fires the ajax calls?
I hope the question is clear enough,
Thanks for any help,
Best
--joerg
More information about the dancer-users
mailing list