Build rudimentary caching system using $_SESSION.