Cookie.setSecure

void setSecure(bool secure) nothrow

Sets cookie's secure attribute to secure.

If true, cookie will only be transmitted from the client to the server over secure (https) connections.

Parameters

securethe new value for the secure attribute