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