Cookie.setHttpOnly

Sets @cookie's HttpOnly attribute to @http_only. If %TRUE, @cookie will be marked as "http only", meaning it should not be exposed to web page scripts or other untrusted code.

class Cookie
void
setHttpOnly
()

Parameters

httpOnly bool

the new value for the HttpOnly attribute

Meta

Since

2.24