WordPress.org

Forums

Access non-WP site cookie that is on subdomain (1 post)

  1. iubjohnson
    Member
    Posted 2 years ago #

    I'm creating an eCommerce site with WordPress as the front end on the primary domain "www.domain.com", and the eCommerce platform (called CommerceV3) on a subdomain "shop.domain.com". Is there a way for WP to access cookie info from the subdomain to tell if a user is logged in on the eCommerce side? I simply want to display a dynamic "Login" or "Logout" link in WP, depending on the users authentication status on the eCommerce side.

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic