CodeIgniter 3.x Same Site Fix

CodeIgniter 3.x Same Site Fix

index.php add

header(‘Set-Cookie: ‘ . session_name() . ‘=’ . session_id() . ‘; SameSite=None; Secure’);

.htaccess add

Header always edit Set-Cookie (.*) “$1; SameSite=None;Secure”