Bkz: https://www.php.net/manual/en/functi...kie-params.php

örnek:
session_set_cookie_params(0, '/', '.test.com'); 
session_start();