I have use Enterprice edition
I want to set the session for magento site like Gmail.
The user login, the session will set.
Once user click logout button the session will destory.
Other wise the the session is active.
If browser is closed, then again Open the browser the session should be active.
if i restart the system, then again Open the magento site the session should be active.
FYI: Also i have tried to set cookie session time out in admin panel. But its not working when the system is restart.
Thanks for help
1 Answer 1
Based on the comments this moving the sessions to the database seams to solve the problem.
To move the sessions to the database edit app/etc/local.xml and replace
<session_save><![CDATA[files]]></session_save>
with
<session_save><![CDATA[db]]></session_save>
-
Can you plz give some clarity on these? I browse for it. But couldn't get it. How does the session alive just changing the session save location from files to database? In this way for a guest user added product on cart will remain same over ages? Also, does it apply for CE also?Anto S– Anto S2016年01月04日 13:16:57 +00:00Commented Jan 4, 2016 at 13:16
Explore related questions
See similar questions with these tags.
app/etc/local.xmland replace the line<session_save><![CDATA[files]]></session_save>with<session_save><![CDATA[db]]></session_save>. And clear the cache.