kemal-session-file

File System based session storage for Kemal

kemal-session-file

File System based session storage for Kemal

Installation

Add this to your application's shard.yml:

dependencies:
  kemal-session-file:
    github: kemalcr/kemal-session-file

Usage

Be sure that the session path folder is writable by the user.

require "kemal"
require "kemal-session-file"

Session.config.engine = Session::FileSystemEngine.new({:sessions_dir => "./your/session/path/"})

Kemal.run

Contributing

  1. Fork it ( https://github.com/kemalcr/kemal-session-file/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • sdogruyol Serdar Dogruyol - creator, maintainer
Repository

kemal-session-file

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 1
  • almost 8 years ago
  • December 30, 2016
License

MIT License

Links
Synced at

Sun, 22 Dec 2024 21:12:22 GMT

Languages