AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IProxyResponse.SetSetting Method

Sets a setting value for the given name.

string SetSetting(
string name,
string value
);

#### Parameters

name
  The name of the setting.
value
  The new value to set.

#### Remarks

If the setting does not previously exist, the new value is applied. If the setting does exist, the old value is returned.
When running in the context of a portlet, this method will create or change the setting in session preference scope.

#### Exceptions

Exception Type | Condition
--- | ---
NotGatewayedException | The request is not gatewayed.

#### See Also

IProxyResponse Interface | Bea.Alui.Proxy Namespace