Method: Charyf::Engine::Session::Processor::Default#process
- Defined in:
- lib/charyf/engine/session/processors/default.rb
#process(request) ⇒ Object
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/charyf/engine/session/processors/default.rb', line 18 def process(request) # session = Charyf::Engine::Session.get(request.id) # # return unless session # # if session && Time.now - session.timestamp > SESSION_TIMEOUT # session.destroy! # return nil # end # # session.invalidate! # session nil end |