Skip to content

HTTP error code 431 after long time of usage #11

@shareDnC

Description

@shareDnC

The random _id in the name creates 100+ different cookies over time and sooner or later leads to HTTP error code 431 Request Header Fields Too Large and site stops responding...

I changed this:

if (!window.name) {
     window.name = Math.random();
}

to this:

if (!window.name) {
     window.name = 'fixedName';
}

which fixes it.

Is there a specific reason you are using the random name?

Regards,
Alex

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions