Menu

[r948]: / framework / branches / refactoring / session_pool.cpp  Maximize  Restore  History

Download this file

30 lines (23 with data), 594 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#define CPPCMS_SOURCE
#include "session_pool.h"
namespace cppcms {
struct session_pool::data
{
};
session_pool::session_pool(service &srv)
{
/* std::string location=srv.settings().get("session.location","none");
std::string encryptor=srv.settings().get("session.cookies_encryptor","");
std::string storage=srv.settings().get("session.backend","");
if(encryptor=="hmac" || encryptor=="aes") {
std::string key = srv.settings().get<std::string>("session.cookies_key");
}*/
}
session_pool::~session_pool()
{
}
intrusive_ptr<session_api> session_pool::get()
{
return 0;
}
} /// cppcms
MongoDB Logo MongoDB