Reputation: 2617
When I use
cppcms::service(argc, argv);
booster::intrusive_ptr c = new myApp(service);
service.applications_pool().mount(c);
service.run();
instead of
cppcms::service(argc, argv);
service.applications_pool().mount(cppcms::applications_factory<myApp>());
service.run();
sessions clear with each new request. Is it a bug?
Upvotes: 0
Views: 163
Reputation: 31243
No, the behavior of sessions of synchronous and asynchronous apps is different
See: https://sourceforge.net/p/cppcms/bugs/93/
Upvotes: 1