Keep customers logged in for a month

marko82
Shopify Partner
9 0 0

Hi,

I was wondering if there is any admin option or easy customization on the code side to keep the customer logged in for at least one month.

Thank you.

Replies 2 (2)

Liam
Shopify Staff
2724 289 743

Hi Marko82,

 

I don't believe this is possible as it could be more dependant on the browser that the customer is using rather than Shopify. 

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

marko82
Shopify Partner
9 0 0

Hi Liam, thanks for taking the time to reply. The session cookie is set by the backend, so I don't believe the browser has any effect on it. I've found this page (https://www.shopify.com/legal/cookies) and I believe the cookie '_secure_session_id' is responsible for that. By default, it is set to 24 hours. It would be great to be able to extend it...