Sha256: c52ee0b04c03717afbffc14d5ff13302bbf1f93b7a4be6fc8431c9c0e1ee4bb8

Contents?: true

Size: 340 Bytes

Versions: 1

Compression:

Stored size: 340 Bytes

Contents

require 'glue/cache/memcached'
require 'nitro/session'

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

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

Session.cache = Glue::MemCached.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/memcached.rb