Skip to content

Custom cookie duration based on consents #78

@gtnsimon

Description

@gtnsimon

To offer more control to developers on how cookie duration is managed based on user consent, is it possible to allow cookieExpiresAfterDays to be a function ?

This function could take 2 arguments:

Motivations

I'm working with orejime on general public websites which requires this kind of behavior especially for users who click decline on Notice or decline all on Modal. It is a pure business needs but it gives more control than a static value.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions