Skip to content

Subdomain Support #28

@korgon

Description

@korgon

Ensure that cookies and localstorage are functional cross subdomains.

The ID storage entries (ssUserId, ssSessionId, ssPageLoadId, etc...) should all be functional and work as expected. However, the viewedProducts and cartProducts may need some adjustments. Need to think through use cases where subdomains would be used and adjust logic accordingly.

One example would be that the checkout is on a different subdomain - if the checkout subdomain resets the cartProducts (empties them) - will this change be picked up by the store domain? It would save the change to the localStorage and cookie, but only the cookie would be accessibly by the non-checkout domain - however, we are favoring localStorage (reading from it first) - so the likely outcome is that the emptying of the cartProducts would not be picked up.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions