Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Keep customers logged in for a month

Keep customers logged in for a month

marko82
Shopify Partner
11 0 3

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
Community Manager
3108 344 904

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
11 0 3

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...