Cookie.setSecure

Sets @cookie's secure attribute to @secure. If %TRUE, @cookie will only be transmitted from the client to the server over secure (https) connections.

class Cookie
void
setSecure
(
bool secure
)

Parameters

secure bool

the new value for the secure attribute

Meta

Since

2.24