Posts Tagged ‘sessions’

Store Symfony Sessions in Database with Propel

By marc • May 23rd, 2008

Previously, I wrote a post on how to store user sessions in a database using Doctrine. I figured that I would follow it up by writing this article to demonstrate how to do the same thing using Propel. The steps are pretty much similar, but with some slight variations.
Step1 - Create your sessions table

 

CREATE TABLE […]



Store Symfony Sessions in Database with Doctrine

By marc • May 4th, 2008

Here 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 […]