12 releases (4 breaking)

Uses old Rust 2015

0.6.6 Feb 20, 2017
0.6.5 Feb 20, 2017
0.6.3 Jan 17, 2017
0.5.0 Nov 26, 2016
0.1.0 Oct 29, 2016

#6 in #cookie

Download history 49/week @ 2024-06-17 38/week @ 2024-06-24 52/week @ 2024-07-01 11/week @ 2024-07-08 34/week @ 2024-07-15 34/week @ 2024-07-22 31/week @ 2024-07-29 33/week @ 2024-08-05 40/week @ 2024-08-12 22/week @ 2024-08-19 16/week @ 2024-08-26 31/week @ 2024-09-02 33/week @ 2024-09-09 28/week @ 2024-09-16 51/week @ 2024-09-23 39/week @ 2024-09-30

156 downloads per month
Used in medal

MIT license

13KB
277 lines

iron-sessionstorage Build Status

Session middleware for Iron, allows you to store data in a simple type-to-string map for each user.

See examples for usage.

Backends

You can use one of the included backends for data storage or roll your own:

  • A cookie-based backend is available by default. You will need to provide a key with which values will be signed.

  • A redis backend can be enabled using the redis-backend feature.

License

Licensed under the MIT, see LICENSE.

Dependencies

~7–13MB
~182K SLoC