Cookie options, expiry etc

Home Forums Porto – Responsive HTML5 Template Cookie options, expiry etc

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #10045043
    medred
    Participant

    I am using the gdpr-bar/preferences to set cookie consent, but this only saves them as session cookies so the gdpr-bar pops back up every time you close and re-open the browser. How do I set the expiry, path, secure for the cookies please?
    Thanks


    #10045044
    Support
    Keymaster

    Hello, thanks for your purchase and sorry about that issue. You are right, it was missing the “expire” value, so please open the file js/theme.js and add these values:

    Please try that and let me know if you need further assistance.

    Best Regards,

    Okler Themes


    #10045045
    medred
    Participant

    Great thanks, that worked. I have changed it to 365 days as I believe that cookie acceptance should be a max of 1 year. Will this change be included in future updates and could it be set to 365 in your updates?


    #10045047
    Support
    Keymaster

    Sure, 365 is good enough, we will make that change in our next update.


    #10045049
    medred
    Participant

    Perfect, thanks a lot.


Viewing 5 posts - 1 through 5 (of 5 total)

This topic is marked as "RESOLVED" and can not rceive new replies.