In App Store, Apache, settings, I made the changes in the settings by activating the module (headers) I added in the virtual hosts settings of the domain: Header always edit Set-Cookie (.*) "$1; HTTPOnly; Secure" (later I also added in the .htaccess file), I restarted the server, but nothing worked.
Is there another place that must be edited and configured, to mark the cookie as accessible only through the HTTPS protocol?