Sha256: da1e0ea7a4cdec0f512cb76811f801c07b0f8212374eef88a3555b2f7d148844

Contents?: true

Size: 330 Bytes

Versions: 1

Compression:

Stored size: 330 Bytes

Contents

require 'glue/cache/file'
require 'nitro/session'

module Nitro
  
# A Session manager that persists sessions on disk.

Logger.debug "Using File sessions." if defined?(Logger)

Session.cache = Glue::FileCache.new("session_#{Session.cookie_name}", Session.keepalive)

end

# * Guillaume Pierronnet <guillaume.pierronnet@gmail.com>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nitro-0.29.0 lib/nitro/session/file.rb