vendor\laravel\frameworksrc\Illuminate\Cookie\MiddlewareEncryptCookies.php
THIS FUNCTION SHOULD MATCH DYNAMIC COOKIE LIKE "version_1,version_2,version_3 ...".
this is no way to ingnore cookie for dynamic.
/**
* Determine whether encryption has been disabled for the given cookie.
*
* @param string $name
* @return bool
*/
public function isDisabled($name)
{
return in_array($name, $this->except);
}
Just override the isDisabled method and do anything you want?
Thanks sisve.
Most helpful comment
Just override the isDisabled method and do anything you want?