I solved it like this
ini_set('session.cookie_domain', '.testdomain.example');
session_start();
Because I was working on localhost
ini_set('session.cookie_domain', '.localhost');
wasn't working, it sees .localhost as the toplevel instead of .com/.local/... (I suspect)