Hi I would like to show you a class FlashSession mysql database, the entire class is available on GitHub https://github.com/boxbillinggit/Phalcon%5class