a little tool used in my bottle project to manage a real simple session