'Return the given session dictionary serialized and encoded as a string.'

def encode(self, session_dict):

    session_store_class = self.model.get_session_store_class()
    return session_store_class().encode(session_dict)
