Liferay Forum


1 comment :

  1. hi,
    How to update cookie Expiry for GUEST_LANGUAGE_ID and COOKIE_SUPPORT cookie
    As part of our new cookie policy implementation, we should follow FRENCH LAW and not to store cookies more than 6 months.

    I could implement this for Google nalytics and other custom cookies

    But when coming to liferay generated cookies GUEST_LANGUAGE_ID and COOKIE_SUPPORT these are set to 1 year and not able to update them.

    Kindly let me know if there is any way to update.

    I already tried below properties, but i donw see that met my requirement

    cookie.http.only.names.excludes=

    company.security.auto.login.max.age=15552000y

    These two cookies are marked HttpOnly

    I also tried to Update using document.cookie JS but, it is creating new cookie, Instead of updating original

    ReplyDelete

Recent Posts

Recent Posts Widget

Popular Posts