Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hey guys, I'm looking to drastically extend the time my customers are kept logged in as the default 24 hours just seems crazy short in this day and age. My store uses Shopify Multipass - we have our own custom login form/backend logic that logs the customer in via Multipass behind the scenes.
Questions:
Please let me know if you need more details about the issue, and thanks for all your help/suggestions.
Hi @anonymous1
Did you ever figure out how to keep customers logged in. (kind of like amazon lets customers remain logged in on all their devices)
Please let me know.
Much appreciated.
Thank you
Hey, I was reading through the forums looking for a solution to this and I was wondering if you ended up figuring out how to get it so that customers stay logged in?
Hi,
The answer is not really but maybe. So, I had my team in India develop a custom persistent cart functionality. And one of the unintended consequences of that seemed to be - that the user remains logged in. At least, I remain logged in on my computer for a few days, I noticed. From what I hear the Shopify cookie resets every 24 hours, so customers will need to re-login after a 24 period passes. With me I'm logged in for days at a time. I'm not sure what the maximum log in time would be and haven't tested this with other users. Just something I notice when testing my site on my own computer. I can probably have more specific info in about a month or so as we're going through testing and our site isn't live yet.
Thanks
Hi there, Did you find how long you kept logged in? Any chances to know how can we do it?
The Multipass cookie that expires in 24 hours is _secure_session_id. You won't be able to overwrite a cookie set by Shopify's domain because of same-origin policy restrictions. Instead you would need to look for the cookie, and if it isn't there (expired) you would re-initiate the multipass flow.
Hi, I'm also looking for a way to extend the user session. Does your solution already work? Is it possible to share more details about the implementation? Thank you.
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025