The setItem method of the Cookie class sets the value for a Cookie object that has been implemented as a dictionary.
public void setItem(java.lang.String name, java.lang.String item);
The following code sets the value of an item called Prefix to the value that has been specified in a form.
CookCust.setItem(“Prefix”, form.getString(“Prefix”));