[symfony-users] Re: Store Sessions in DB

2007-06-05 Thread andyjeffries
seehttp://www.symfony-project.com/book/trunk/06-Inside-the-Controller-La... On the server side, symfony stores user sessions in files by default. You can store them in your database by changing the value of the class parameter in factories.yml, as shown in Listing 6-21. I actually have a

[symfony-users] Re: Store Sessions in DB

2007-06-05 Thread Mat
You must create the session table, if it doesn't exist, you'll get an error. CREATE TABLE `session_storage` ( `session_id` varchar(255) collate latin1_general_ci NOT NULL, `session_data` longtext collate latin1_general_ci NOT NULL, `session_time` bigint(20) NOT NULL, PRIMARY KEY

[symfony-users] Re: Store Sessions in DB

2007-06-05 Thread andyjeffries
Thanks Mat. That could do with mentioning in the book (as it will error if it doesn't exist), hint, hint, Fabien ;-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send