Liquid, JavaScript, themes, sales channels
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.
User | RANK |
---|---|
38 | |
24 | |
13 | |
11 | |
8 |
Transform this holiday season into a shopping spree. Plus, learn how to effortlessly open ...
By Jasonh Dec 8, 2023Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023