• Resolved whiteiswhite

    (@whiteiswhite)


    Hi,

    We have a problem using your plug-in along with Favorites (WordPress plug-in) which use a cookie to save favorited posts.
    When an user press the Favorite button from any page in a sub-domain, the favorite is registered in the sub-domain, but not globally. (because the favoritescookie is somehow bound to sub-domain).

    Do you know how we could make the favoritescookie cross-domain and work on every sub-domains we created with your plug-in ? Or if we could make all sub-domains share that said cookie?

    Thanks in advance for the work you put in the plug-in and the time you take to help your community.
    Kind regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author matthias.wagner

    (@matthiaswagner)

    hello! i understand your problem. without having looked into that favorite-plugin, i assume that they set their cookie per domain. but it is possible to set a cookie like “wildcard” for the domain and every subdomain (https://www.php.net/manual/en/function.setcookie.php). so i guess you would have to look for your solution within that other plugin ??

    good luck!
    matt

    Thread Starter whiteiswhite

    (@whiteiswhite)

    Thanks for answering so fast. I was working on the setcookie doc already, but you conforted me and i’ve finally found a way in the documentation. Thanks for your concern and your commitment. Have a nice day !

    Plugin Author matthias.wagner

    (@matthiaswagner)

    glad to hear that! we’d be happy if you find some time and leave a 5* review or even a small donation through https://www.matthias-wagner.at ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem with cookies location’ is closed to new replies.