in reply to CGI::Session Cookies

Make sure you have the right version of CGI::Cookie. SameSite support was added in 2016 and has been mentioned in the changelog a couple of times since.

>perl -MCGI::Cookie -E'say CGI::Cookie->new(-name=>"a",-value=>"b",-sa +mesite=>"Lax")' a=b; path=/; SameSite=Lax >cpanm CGI::Cookie CGI::Cookie is up to date. (4.54)

Replies are listed 'Best First'.
Re^2: CGI::Session Cookies
by JayBee (Scribe) on Jul 09, 2022 at 22:07 UTC
    Yes, updating CGI::Cookie had the proper effect and was able to get the correct output with my 2nd approach. Thank you