## Cookie::set_HttpOnly method


Sets the 'HttpOnly' attribute's value.

```cpp
void System::Net::Cookie::set_HttpOnly(bool value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | bool | The value that must be set. |

## See Also

* Class [Cookie](../)
* Namespace [System::Net](../../)
* Library [Aspose.PDF for C++](../../../)
