voodish logo
tweet rss book of faces Linked In

Reset Session storage options in Magento

Save session data from File to Database after installation

Open This:
app/etc/local.xml

Options:
<session_save><![CDATA[db]]></session_save>
Or:
<session_save><![CDATA[files]]></session_save>

After you make the change delete the following
var/session
var/cache

Database or File system storage in Magento?

It depends on your requirements, although storing sessions in DB is generally considered the best option for larger sites as storing session details in a database allows for easier clustering of multiple servers.

With the mods above you can always switch between the two at a later date, so it’s not set in stone.

Related Articles

Comments RSS Feed

1 Comments

  1. bambam March 24, 2010

    This is neat, Magento has a steep learning curve but ultimately it’s worth it - thanks for sharing.

  2. Go to Top of the page

Leave a comment