# RemoveSessionAlternateState Method

## Overloads

| [RemoveSessionAlternateState(String)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.RemoveSessionAlternateState.htm#Qlik_Engine_App_RemoveSessionAlternateState_System_String_) |  | Removes an session alternate state in the app. |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.RemoveSessionAlternateState.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.RemoveSessionAlternateState.htm)

## RemoveSessionAlternateState(String)

Removes an session alternate state in the app.

### Declaration

```

          public bool RemoveSessionAlternateState([QixName("qStateName")] string stateName)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | stateName | Name of the alternate state. |

### Returns

| Type | Description |
| --- | --- |
| System.Boolean |  |

### Implements

[IApp.RemoveSessionAlternateState(String)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.RemoveSessionAlternateState.htm#Qlik_Engine_IApp_RemoveSessionAlternateState_System_String_)

### Remarks

The operation is successful if **qSuccess** is set to true.