def __setitem__(self, key, value):
        """Store an object in the session."""
        if not self.loaded:
            self.load()
        self._data[key] = value
Store an object in the session.
cherrypy/lib/sessions.py