QuentinJou Posted June 3, 2021 Share Posted June 3, 2021 Hello, When I try to create a cookie via Context::getContext()->cookie->mycookie = $myalue; The size is limited to 849 characters. is it possible to increase it and how to do it? Thank you Link to comment Share on other sites More sharing options...
joseantgv Posted June 4, 2021 Share Posted June 4, 2021 You mean this? https://stackoverflow.com/questions/17954974/increase-limit-of-cookies-in-a-php-application Link to comment Share on other sites More sharing options...
QuentinJou Posted June 4, 2021 Author Share Posted June 4, 2021 I don't know what is the error, I don(t have any error message or log (in debug mode). I think is the size because after create the cookie i redirecte the user to another page. if i keep the original size of the cookies i'm not redirect but if I reduce the size with substr 0 to 849 it work Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now