Finished session caching and timeout support.