Skip to content

InertiaJS Set-Cookie header ignored #4717

Closed Answered by RomainLanz
atakansn asked this question in Help
Discussion options

You must be logged in to vote

Hey @atakansn! 👋🏻

The issue lies elsewhere — when the validation rules are triggered, it stores the error and old value in the session, which then gets written to a cookie. However, your text is too large to fit into the cookie.

To fix this, you'll need to change your session driver. That should do the trick! 👍🏻

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@atakansn
Comment options

Answer selected by atakansn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants