We are interested in extending the session duration for guests that visit our Magento website. By default if a guest adds an item to the cart and leaves the page afer 24 minutes the session is destroyed and when they return the cart is zeroed. I extended the maxlifetime via htaccess to 6 hours to test it out and it works correctly. I know my manager is interested in keeping sessions alive for 1 week or even longer. My question is: what are the potential drawbacks of keeping sessions alive this long? Server performance, server space for session files, security concerns, etc?
We are interested in extending the session duration for guests that visit our Magento
Share
Unless you have explicit PCI compliance directives to only retain session data for a specific window – there isn’t any real security concerns. The session data doesn’t hold any sensitive information.
By extending the window, the only concerns I can think about would be.
But there is a better solution
Rather than just extend session time on site, have you perhaps thought of investigating a more sophisticated solution, whereby if the cart has been abandoned, you can alert the customer of such via email and give them a link to re-instate the cart contents/wishlist/session etc.
This would obviously give you the underlying solution and the advantage that you could pro-actively convert the customer – and all it would require is capture of an email address.