Session plugin for egg, based on koa-session.
egg-session is a built-in plugin in egg and enabled by default.
# External Store
egg-session support external store, you can store your sessions in redis, memcached or other databases.
For example, if you want to store session in redis, you must:
- Dependent egg-redis
- Import egg-redis as a plugin and set the configuration
- Implement a session store with redis
Once you use external session store, session is strong dependent on your external store, you can't access session if your external store is down. Use external session stores only if necessary, avoid use session as a cache, keep session lean and stored by cookie!
Support all configurations in koa-session.
# Questions & Suggestions
Please open an issue here.