30 Oct
2015
30 Oct
'15
9:36 a.m.
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