Re: [Cppcms-users] Fwd: The role of cookie path
Brought to you by:
artyom-beilis
From: CN <cn...@fa...> - 2016-07-13 15:17:16
|
> This is the clue. > > The asynchronous application does not load session information by > default - because some session backends can be blocking and may lock > the entire event loop. > So in async app you first need to call session().load() and than use it. You are my savior again! I repeatedly reminded myself of not falling into this trap, but eventually I made the same mistake this time again. Off topic: I should have passed cppcms::app::synchronous as argument to cppcms::service::applications_pool()::mount() instead. Somehow the code ends up passing asynchronous argument. This is the apparent negative side effect of bad copy-and-paste coding habit. > Artyom > > P.S.: Please open a feature request so to improve the behavior. I > noticed several times that it was causing issues for too many users I will do it as soon as SF is back on line. Best Regards, CN -- http://www.fastmail.com - The way an email service should be |