• Resolved jdarbuckle

    (@jdarbuckle)


    Hello, I am trying to have the cookies on my site expire in a year.

    I have first used a plugin, and then tried to add a function directly to PHP.

    Neither of these worked, and all my cookies are still session cookies.

    On some other forum, someone was having trouble with a Content Access plugin.

    I wondered if Groups, as a contact access plugin, might be causing a conflict.

    Any ideas? Thanks!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • gtsiokos

    (@gtsiokos)

    Hi there,

    I would say normally no, because there is no reason to affect the expiration time of a cookie.
    However, if you are certain that the cookie is set properly and the expiration time is indeed after one year, then you can narrow down the cause of this issue by disabling all your plugins one-by-one, till you reach the one with the conflict.

    Should you find out that Groups is related to that issue, you are more than welcome to follow-up here with your findings.

    Kind regards,
    George

    Plugin Author Kento

    (@proaktion)

    Interesting, but I also don’t see where Groups would be involved as the cause.

    However, if the cookie is set depending on whether a user can access content or not, then that could match what you describe. But that would just be the result of Groups protecting the content as it should. So if you are for example setting the cookie within a template that is protected by Groups, you might rather set the cookie outside of the protected content.

    Marking this as resolved, but feel free to follow-up if you need further help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is Groups causing issue with setting long-term cookie expiry?’ is closed to new replies.