Implementing CherryPy session handling