Skip to content
This repository was archived by the owner on Oct 4, 2025. It is now read-only.
This repository was archived by the owner on Oct 4, 2025. It is now read-only.

Percentage toggle condition improvement #7

Description

@hamaryuginh

In case of multiple call to isActive() on a flag having percentage condition, there is multiple call to setcookie function, which can cause error because of too big response header (each Set-Cookie: ... will be in the response header).

To avoid this, you can, for example, add something like this: $this->request->cookies->set($config['cookie'], $value); after setcookie() function... Not very beautiful, but it works ;-)

Thx.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions