Support » Plugin: Yasr - Yet Another Stars Rating » Feature request: unique cookie name

  • johnh10

    (@johnh10)


    The same cookie name for storing votes is shared across all sites using YASR. Since I’m running several websites with YASR, some people are complaining they are getting the “already voted” message on posts they haven’t voted on before.

    I believe this is happening because they voted on post X on one site, then on another site with the same post ID it thinks they already voted because of the previous site.

    Requesting either a setting for a unique cookie name or use a filter like:

    $yasr_cookiename = apply_filters( 'yasr_change_cookie', 'yasr_visitor_vote_cookie' );

Viewing 1 replies (of 1 total)
  • Plugin Author dudo

    (@dudo)

    Hi, are your websites in subdomains?

    The browsers serve a cookie only if the domain match, but I’m not sure about subdomains

    Best,
    Dario

Viewing 1 replies (of 1 total)
  • The topic ‘Feature request: unique cookie name’ is closed to new replies.