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

#5 in #cookie

Download history 22/week @ 2024-08-29 29/week @ 2024-09-05 34/week @ 2024-09-12 46/week @ 2024-09-19 35/week @ 2024-09-26 24/week @ 2024-10-03 11/week @ 2024-10-10 24/week @ 2024-10-17 32/week @ 2024-10-24 29/week @ 2024-10-31 15/week @ 2024-11-07 5/week @ 2024-11-14 25/week @ 2024-11-21 30/week @ 2024-11-28 43/week @ 2024-12-05 85/week @ 2024-12-12

184 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

~6–12MB
~143K SLoC