How to make cookies secured automatically?

netteman
Member | 92
+
0
-

Hi,

can I make all cookies secured automatically? I am aware that I can set the secure parameter manually https://api.nette.org/…nse.php.html#… but I'm looking for an automated way to do that.

Adding this code to the config file makes secured only PHPSESSID

session:
	cookie_secure: true

Thank you :)

Mabar
Member | 296
+
0
-
http:
	cookie_secure: true
netteman
Member | 92
+
0
-

Mabar wrote:

http:
	cookie_secure: true

Thanks for your help! This code works:

http:
	cookieSecure: true