Hi everyone, I'm facing an issue where customers a...
# suitecommerce
t
Hi everyone, I'm facing an issue where customers are being logged out after 20 minutes on our SuiteCommerce website. Is there a way to extend the login session time? Any help would be greatly appreciated! Thanks in advance!
g
I have a trick where I create a timer to reload the cart every 5 minutes, making it think somebody is still on the site.
var LiveOrderModel = require(‘LiveOrder.Model’); window.setInterval(function () { try { var model = LiveOrderModel.getInstance(); model.fetch(); console.log(“Stay logged in.“); } catch (err) { } }, 1000 * 60 * 5);
t
not working
Any other approach?