correzione: la funz che ho utilizzato è

session_set_cookie_params, non get