cookie class : IsHttpOnly(bool) setter
Description
Set the HttpOnly attribute.
Syntax
instance.IsHttpOnly = value;
Assigned value
Class | Description |
bool | HttpOnly attribute. |
Return value
None.
Sample code
1: | browser br; |
2: | cookie coo = br.GetCookie("Example"); |
3: | coo.IsHttpOnly = true; |
4: | coo.Set(); |
Notes
You need to call the Set() method to commit your changes.
Links for reference
None.