Sha256: 8d9ecf5cbcbdeaed5f267efa154b13d04244f6b18facf6fa30711ace4f704454

Contents?: true

Size: 337 Bytes

Versions: 4

Compression:

Stored size: 337 Bytes

Contents

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

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

Logger.info "Using File sessions." if defined?(Logger) && $DBG

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

end

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
nitro-0.41.0 lib/nitro/session/file.rb
nitro-0.30.0 lib/nitro/session/file.rb
nitro-0.31.0 lib/nitro/session/file.rb
nitro-0.40.0 lib/nitro/session/file.rb