[Cppcms-users] Session Load and Save events
Brought to you by:
artyom-beilis
|
From: Joseph A. <jsa...@gm...> - 2013-09-17 20:10:14
|
Hi Artyom, I have been tinkering with CPPCMS in the last few weeks after its discovery and I must say it is a wonderful work from you. It has a great potential as a highly scalable and light-weight web server application. I have a set C/C++ libraries which has so far no face and I would like to use CPPCMS to build a WebAPI face for them. So I thank you very much for contributing a such a great useful product. My question is, within the web application process, how I do I get to know when a session is loaded and when the session is saved (to the file or other persistence options you have provided). Session interface currently exposes "save" and "load" methods. It also allows us to set an expiration policy which enables the session to expire when it is idle. But how the web application process will be notified of such events as Session::Load and Session::Save in order to employ some critical operation such as updating a table in the database about when a user's session started and terminated ? Your advice is greatly appreciated. Joseph. |