On Sep 7, 2020, at 11:28 AM, Andrew Green <and...@article7.co.uk> wrote:
> I’d like to be able to set SameSite=Strict on a cookie generated using 
> Apache2::Cookie, but if I simply try to set that parameter, I get the 
> following error:
> 
>   Can't locate object method "SameSite" via package "Apache2::Cookie”
> 
> Is it possible?

Try the following:

$cookie->set_attr('SameSite' => 'strict');

Let me know if that works for you.

Regards,
Ed

Reply via email to