# Session store in database in cakephp 2.5.4

**URL:** <https://discourse.cakephp.org/t/session-store-in-database-in-cakephp-2-5-4/2623>\
**Category:** Need Help\
**Created:** [May 26, 2017, 11:22am UTC](https://discourse.cakephp.org/t/session-store-in-database-in-cakephp-2-5-4/2623 "2017-05-26T11:22:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hdlambavala](https://avatars.discourse-cdn.com/v4/letter/h/e47c2d/32.png) [@hdlambavala](https://discourse.cakephp.org/u/hdlambavala)\
**Post date:** [May 26, 2017, 11:22am UTC](https://discourse.cakephp.org/t/session-store-in-database-in-cakephp-2-5-4/2623/1 "2017-05-26T11:22:31Z")

</div>

I am working on cakephp 2.5.4  
i want to store session in database.  
I have done all the steps which is list out in cookbook of cakephp.  
i have create cake\_sessions database.  
I have configure in core.php as like  
Configure::write(‘Session’, array(  
‘defaults’ =\> ‘database’  
));

but still now not working  
i think its going something wrong way  
any one can help me please…
