cookie class : Value(string) setter

Description

Set the cookie value.

Syntax

instance.Value = value;

Assigned value

ClassDescription
stringCookie value.

Return value

None.

Sample code

1:

browser br;

2:

cookie coo = br.GetCookie("Example");

3:

coo.Value = "test_value";

4:

coo.Set();

Notes

You need to call the Set() method to commit your changes.

Links for reference

None.

Copyright © Cooker All rights reserved.