$ npm i egg-enhance-session --save
// {app_root}/config/plugin.js
exports.enhanceSession = {
enable: true,
package: 'egg-enhance-session',
};
// {app_root}/config/config.default.js
exports.enhanceSession = {
};
And support all egg-cookies params.
see config/config.default.js for more detail.
Please open an issue here.