Implement a handler for a session-based flash store

Hi Stuart. Implemented this for myself initially but maybe others can benefit. Do you find this useful?
Thank you.