Sha256: 1438e5fbd4e750af1653694af5012cced1942725a14dbb4474cfa985b8f3f1ad

Contents?: true

Size: 348 Bytes

Versions: 4

Compression:

Stored size: 348 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) && $DBG

Session.cache = Glue::MemCached.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/memcached.rb
nitro-0.30.0 lib/nitro/session/memcached.rb
nitro-0.31.0 lib/nitro/session/memcached.rb
nitro-0.40.0 lib/nitro/session/memcached.rb