Store Symfony Sessions in Database with Doctrine
By marc • May 4th, 2008Here is how you can store your sessions in a central database with Doctrine in symfony. If you are trying to do this with Propel, the check out my follow up post: Store Symfony Sessions in Database with Propel
Step1 - Create your sessions table
CREATE TABLE IF NOT EXISTS `sessions` (
`sess_id` varchar(64) NOT NULL,
`sess_data` text NOT […]