open fun setHttpOnly(httpOnly: Boolean): Cookie
Determines if this cookie is HTTP only. If set to true, this cookie cannot be accessed by a client side script. However, this works only if the browser supports it. For for information, please look here.
httpOnly - True if the cookie is HTTP only, otherwise false.
Return