Home > Configuration > Load Balancing > setlbprofile_httponlycookieflag

setlbprofile_httponlycookieflag

Use this method to set include the HttpOnly attribute in persistence cookies. The HttpOnly attribute limits the scope of a cookie to HTTP requests and helps mitigate the risk of cross-site scripting attacks.

Syntax



Parameters

lbprofilename

Name of the LB profile.
This is mandatory parameter.

httponlycookieflag

Include the HttpOnly attribute in persistence cookies. The HttpOnly attribute limits the scope of a cookie to HTTP requests and helps mitigate the risk of cross-site scripting attacks.
Default value = ENABLED.
Possible Values : ENABLED, DISABLED.

Return Value

Returns simpleResult

See Also