Sha256: 620421294aae842ee062c110b3948d28cbaa6536b8fec5476882ff0374f50809

Contents?: true

Size: 414 Bytes

Versions: 17

Compression:

Stored size: 414 Bytes

Contents

require "action_dispatch/middleware/session/abstract_store"

module ActionDispatch
  module Session
    class AbstractStore
      private
        def extract_session_id(env)
          stale_session_check! do
            request = Rack::Request.new(env)
            sid = request.cookies[@key]
            sid ||= request.params[@key] unless @cookie_only
            sid
          end
        end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
galakei-0.6.2 lib/galakei/use_rack_request_to_extract_sid.rb
galakei-0.6.1 lib/galakei/use_rack_request_to_extract_sid.rb
galakei-0.6.0 lib/galakei/use_rack_request_to_extract_sid.rb
galakei-0.5.1 lib/galakei/use_rack_request_to_extract_sid.rb
galakei-0.5.0 lib/galakei/use_rack_request_to_extract_sid.rb
galakei-0.4.1 lib/galakei/use_rack_request_to_extract_sid.rb
galakei-0.4.0 lib/galakei/use_rack_request_to_extract_sid.rb
galakei-0.3.8 lib/galakei/use_rack_request_to_extract_sid.rb
galakei-0.3.7 lib/galakei/use_rack_request_to_extract_sid.rb
galakei-0.3.6 lib/galakei/use_rack_request_to_extract_sid.rb
galakei-0.3.5 lib/galakei/use_rack_request_to_extract_sid.rb
galakei-0.3.4 lib/galakei/use_rack_request_to_extract_sid.rb
galakei-0.3.3 lib/galakei/use_rack_request_to_extract_sid.rb
galakei-0.3.2 lib/galakei/use_rack_request_to_extract_sid.rb
galakei-0.3.1 lib/galakei/use_rack_request_to_extract_sid.rb
galakei-0.3.0 lib/galakei/use_rack_request_to_extract_sid.rb
galakei-0.2.0 lib/galakei/use_rack_request_to_extract_sid.rb