Use Session class to implement a session cache