module Roda::RodaPlugins::Sessions::InstanceMethods

def _roda_after_50__sessions(res)

the response.
update the rack response headers to set the session cookie in
If session information has been set in the request environment,
def _roda_after_50__sessions(res)
  if res && (session = env['rack.session'])
    @_request.persist_session(res[1], session)
  end
end