# StoreTempSelectionState Method

## Overloads

| [StoreTempSelectionState(Int32)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.StoreTempSelectionState.htm#Qlik_Engine_App_StoreTempSelectionState_System_Int32_) |  | Store current selection state temporarily. |
| --- | --- | --- |

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

## StoreTempSelectionState(Int32)

Store current selection state temporarily.

### Declaration

```

          public StoreTempSelectionStateResult StoreTempSelectionState([QixName("qTTLOfTempState")] int tTLOfTempState = 0)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.Int32 | tTLOfTempState | Time to live in seconds for stored selection state |

### Returns

| Type | Description |
| --- | --- |
| [StoreTempSelectionStateResult](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.StoreTempSelectionStateResult.htm) |  |

### Implements

[IApp.StoreTempSelectionState(Int32)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.StoreTempSelectionState.htm#Qlik_Engine_IApp_StoreTempSelectionState_System_Int32_)

### Remarks

The temporary selection state will be stored for 30min by default if TTL parameter is not present or positive.