    # File lib/merb-core/dispatch/session/store_container.rb, line 59
          def generate

            # make sure we generate a unique session uuid
            sid = nil
            GENERATE_MAX_TRIES.times do |i|
              sid = Merb::SessionMixin.rand_uuid
              data = store.retrieve_session(sid) rescue nil
              break if data.nil?
              raise "Unable to Generate Unique Session key" if i == (GENERATE_MAX_TRIES-1)
            end

            session = new(sid)
            session.needs_new_cookie = true
            session
          end