call session_set_cookie_params directly instead of using call_user_func_array()