• Resolved Abigailm

    (@abigailm)


    Is there a way to limit the setting of cookies with this plugin? There are only a small number of users who will login or have accounts, and the cookies set by this plugin are triggering an OWASP rule in ModSecurity. (This happens when the random characters for the cookies match a security rule meant to protect against malicious code). This is resulting in users being locked out from the site. I have been running this plugin for quite a while, but this problem with the false positives only started a few days ago — but there are repeated instances.

Viewing 5 replies - 16 through 20 (of 20 total)
  • Plugin Author Collins Agbonghama

    (@collizo4sky)

    Ignore the pastebin statement.

    Use the code below to disable it.

    add_filter('ppress_should_start_session', '__return_false');

    Please enter the plugin in a plugin eg a site-specific plugin and not your theme’s functions.php file.`

    I have the same issue. I tried adding the code above into Code Snippets, but when the snippet is activated, the cookie is still set.

    I couldn’t see an option in the plugin settings to turn off the cookie.

    Please let me know what I should try next.

    Plugin Author Collins Agbonghama

    (@collizo4sky)

    IF the cookie has already been set before implementing the code, you need to clear your browser cookies and then check again. Or try in private/incognito window.

    Thanks @collizo4sky, but even after deleting cookies the cookie is still set. I’ve tried both adding the filter using code snippets, and adding it as the first line in functions.php. Neither route works.

    • This reply was modified 2 years, 8 months ago by curve.
    Plugin Author Collins Agbonghama

    (@collizo4sky)

    Open a ticket on our site via https://profilepress.net/support/ so I can take a closer look.

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘Cookie options’ is closed to new replies.