Hi,
I have just released lua-resty-session 2.0. This version implements a plugin architecture for session storage adapters, data serializers and encoders.
The most important thing in this release is the storage adapters. Now you can store session data on these mediums as well:
1. shared dictionary
2. memcached
3. redis
Other adapters can be easily added. The API is still backward compatible. All the adapters have implemented the neccessary locking (that can be turned off).
Detailed Changes:
Changes with lua-resty-session 2.0 31 Aug 2015
*) Feature: Added architecture for Storage adapter plugins.
See Also: https://github.com/bungle/lua-resty-session/issues/13
*) Feature: Implemented Client Side Cookie storage adapter.
*) Feature: Implemented Memcache storage adapter.
See Also: https://github.com/bungle/lua-resty-session/pull/14
Thanks @zandbelt
*) Feature: Implemented Redis storage adapter.
*) Feature: Implemented Shared Dictionary (shm) storage adapter.
*) Feature: Added architecture for Encoder and Decoder plugins.
*) Feature: Implemented Base 64 encoder / decoder.
*) Feature: Implemented Base 16 (hex) encoder / decoder.
*) Feature: Added architecture for Serializer plugins
*) Feature: Implemented JSON serializer.
*) Feature: Persistent cookies will now also contain Max-Age in addition
to Expires.
*) Change: Cookie domain attribute is not set anymore if not specified.
*) Documentation: Added notes about using lua-resty-session with
Lua code cache turned off.
See also: https://github.com/bungle/lua-resty-session/issues/15
Thanks @BizShuk