Re: How can I permanently keep customers logged in?

How can I permanently keep customers logged in?

YuliyaP
Excursionist
21 0 6

How can I permanently keep customers logged in? 

Users need to enter their login password every day. This is unbelievable. We are losing a lot of clients.

Replies 7 (7)

miniscript
Shopify Partner
32 1 11


@YuliyaP - 

When customers log into the store Shopify sets a cookies which expire after 24 hrs. This is the policy of Shopify for security purpose. 
But if you want to extend that you need to modify the cookies as per your requirement with JavaScript. 

This is name of cookies which  is setting up browser once user logged in secure_customer_sig 
so with JavaScript you can modify when user hit the login button. 

Here is the list of Shopify cookies

YuliyaP
Excursionist
21 0 6

How can I extend this for my clients?
This is incredible. No service (amazon, Gmail, Facebook) provides so little time to the client. We have a very strong customer churn. Every third client complains about the need to enter a login password every day. We are really losing a lot of clients

miniscript
Shopify Partner
32 1 11

You need to write the JavaScript code for that. 

Andrei21
Excursionist
18 0 2

@YuliyaP   

Hi,

I'm having the same issue. We would like to keep our customers logged in until they actually choose to log out. Their log in should not expire.

@miniscript - Have you seen this actually implemented on any shopify store? Can you recommend someone who can do this for me?

 

Thank you both!

OTATA
Tourist
3 0 5

Has there been any solution for this topic? I tried to delete all my cookies from the Shopify store, but I still was logged in afterwards.
Also I couldn't find the so-called Login Cookies "Secure_customer_sig" or "storefront_digest" anywhere so that I could edit them in any way.
Can anybody help me out?

EW_17
Tourist
11 0 3

Hi,

 

Are you sure that the cookie is secure_customer_sig?

because this cookie expire after one year, but _secure_session_id expire after 24 hours.

FilipposD
Shopify Partner
45 1 19

secure_customer_sig and secure_session_id are both HttpOnly cookies.

Javascript cannot access them.

And they are set by Shopify's servers, but the theme can't do anything about them.

It seems the only way to allow users to be logged in for a longer amount of time, is if an entirely different authentication system was implemented (possibly as an external app).