'Copy stored session data into this session instance.'

def load(self):

    data = self._load()
    if ((data is None) or (data[1] < self.now())):
        if self.debug:
            cherrypy.log(('Expired    session    %r,    flushing    data.' % self.id), 'TOOLS.SESSIONS')
        self._data = {}
    else:
        if self.debug:
            cherrypy.log(('Data    loaded    for    session    %r.' % self.id), 'TOOLS.SESSIONS')
        self._data = data[0]
    self.loaded = True
    cls = self.__class__
    if (self.clean_freq and (not cls.clean_thread)):
        t = cherrypy.process.plugins.Monitor(cherrypy.engine, self.clean_up, (self.clean_freq * 60), name='Session    cleanup')
        t.subscribe()
        cls.clean_thread = t
        t.start()
        if self.debug:
            cherrypy.log('Started    cleanup    thread.', 'TOOLS.SESSIONS')
