[Cppcms-users] session.server.settings example
Brought to you by:
artyom-beilis
|
From: Christian G. <chr...@gm...> - 2013-04-23 12:19:20
|
Hi all
"session" : {
"expire" : "renew",
"timeout" : 600,
"keep_alive_interval" : 60,
"location" : "server",
"gc" : 600,
"server": {
"storage":"external",
"shared_object":"/opt/libcppcms_session_memory_ext.so",
"settings":"dir:'/session_storage/'"
}
},
session_memory_ext_storage(cppcms::json::value const &val)
{
base_ = val.get<std::string>("dir", "/tmp/");
BOOSTER_INFO("session_memory_ext") << "base folder '" << base_;
}
How must my config.js look like to get this working?
--
Christian Gmeiner, MSc
|