lib/merb/session/rdb4o_session.rb
# Gets the existing session based on the <tt>session_id</tt> available in cookies.
# If none is found, generates a new session.
Gets the existing session based on the session_id available in cookies.
If none is found, generates a new session.
Gets the existing session based on the session_id available in cookies . If none is found generates a new session .
def persist(session_id)
        if session_id
          session = Merb::MerbSession.find_by_session_id session_id 
        end
        unless session
          session = generate
        end
        [session, session.session_id]
      end
def persist ( session_id ) if session_id session = Merb :: MerbSession . find_by_session_id session_id end unless session session = generate end [ session , session . session_id ] end
Gets the existing session based on the <tt>session_id</tt> available in cookies.
Gets the existing session based on the <tt > session_id< / tt > available in cookies .
#puts "there is" #self[session_id]           #puts session #puts "there's no"
session_id
<not_specific>