AUTH:set_baked_cookie(cookie)
Allows you to customize the cookie attribute of the baked cookie.
Syntax
AUTH:set_baked_cookie(cookie);
Arguments
| Name | Description |
|---|---|
|
cookie |
A string which specifies the baked cookie. |
Events
Applicable in AUTH_RESULT.
Example
when COOKIE_BAED {
cookie = AUTH:get_baked_cookie()
new_cookie = cookie..”; Mick-Test:123444444”
status = AUTH:set_baked_cookie(new_cookie)
debug(“Set baked cookie, status: %s\n”, status)
}
Result:
Set baked cookie, status: true
Supported Version
FortiADC version 5.2.x and later.