asynchronous applications automatically load session data
Brought to you by:
artyom-beilis
Asynchronous applications do not automatically load session data including cookies because doing so is costly according to documentation:
http://cppcms.com/cppcms_ref/latest/classcppcms_1_1session__interface.html#ae63e68dd2ec1d615f5a6a85bcee36605
Asynchronous applications not calling
bool cppcms::session_interface::load()
beforehand and try to access session data such as cookies will get unexpected results. Unfortunately, programmers like myself tend to repeatedly fall into this "trap".
request: If the auto loading is not too costly for asynchronous applications, please reconsider enabling automatic loading in favor of the benefit of programmers over system performance.
Anonymous