set_HttpOnly()

Cookie::set_HttpOnly(bool) method

Sets the ‘HttpOnly’ attribute’s value.

void System::Net::Cookie::set_HttpOnly(bool value)

Arguments

ParameterTypeDescription
valueboolThe value that must be set.

See Also