How is Magento setup to handle sessions, via filesystem or database?

Posted: April 7, 2013 in Magento
We just had a client run into the same issue, and Magento was setup to let the database handle sessions (default is the filesystem). I was unable to login. It would just keep sending me to the login page, but I could see the URL was trying to parse at least. Occassionaly I would get in to the backend after trying to login 2-3 times in a row, but would still get “logged out” of the system.
To see what you have, or to change it, open up the following:
Look for this:
And change it to this:
If it’s already set to files, then there’s possibly another bug. After you’ve done this, make sure you delete the following directories:
And also delete all of the items in the core_session table.
You should be able to login and stay logged in now.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s