Dual session savehandler, which stores sessions in the cache and synchronize it with a database for persistence.