Hello guys, Is there any way that customer session...
# suitecommerce
s
Hello guys, Is there any way that customer session can be captured in cross domains? For example I'm customer who logged in to example.com (main domain) and I visited to sub.example.com (sub domain) and the website is asking me to login again. How can I maintain the customer session in both domains? Any solutions? Thanks in advance.
f
You could try a JS that reads the related cookies - nlshopperid, nlvisitorid, etc, that are set on the TLD then manually create the cookies on the subdomain. it's weird that it doesn't do it automatically... are you switching to a checkout domain or something else?
s
We're switching the shopping domains.
If we create cookies, how can we create a customer session?