* [Note: Session.table is deprecated as of CakePHP 1.3]
*/
// so get rid of it Configure::write('Session.table',
'cake_sessions');
try this
Configure::write('Session.save', 'database');
Configure::write('Session.model', 'Session');
Configure::write('Session.database', 'default');
works for me
On Sep 21, 7:07 am, carichardson wrote:
> Hello,
>
> I'm currently switching from php sessions to database sessions in
> cakePHP 1.3.11. I used the command line to create the cake_sessions
> database table. I've got the following in my core.php file:
>
> Configure::write('Session.save', 'database');
>
> Configure::write('Session.table', 'cake_sessions');
>
> Configure::write('Session.database', 'default');
>
> The cake_sessions table exists in the default database, but I never
> see any data in that table. Sessions are still working, but I assume
> Cake is still using php sessions. I've cleared cache, cookies, and
> cake cache, still nothing in the cake_sessions table in the database.
>
> Can somebody please point our what I'm doing wrong? Any help would be
> much appreciated.
>
> Thank you kindly,
>
> Chris
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at
http://groups.google.com/group/cake-php