# AsExistingSession Method

## Overloads

| [AsExistingSession(String, String, String)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.IQcsLocation.AsExistingSession.htm#Qlik_Sense_JsonRpc_IQcsLocation_AsExistingSession_System_String_System_String_System_String_) |  | Configure the location to use an already existing session. |
| --- | --- | --- |
| [AsExistingSession(QcsSessionInfo)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.IQcsLocation.AsExistingSession.htm#Qlik_Sense_JsonRpc_IQcsLocation_AsExistingSession_Qlik_Sense_JsonRpc_QcsSessionInfo_) |  | Configure the location to use an already existing session. |
| [AsExistingSession(JObject)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.IQcsLocation.AsExistingSession.htm#Qlik_Sense_JsonRpc_IQcsLocation_AsExistingSession_Newtonsoft_Json_Linq_JObject_) |  | Configure the location to use an already existing session. |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.IQcsLocation.AsExistingSession.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.IQcsLocation.AsExistingSession.htm)

## AsExistingSession(String, String, String)

Configure the location to use an already existing session.

### Declaration

```

          void AsExistingSession(string easSid, string easSidSig, string sessionToken)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | easSid | The value to use for cookie "eas.sid". |
| System.String | easSidSig | The value to use for cookie "eas.sid.sig". |
| System.String | sessionToken | The session token value. |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.IQcsLocation.AsExistingSession.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.IQcsLocation.AsExistingSession.htm)

## AsExistingSession(QcsSessionInfo)

Configure the location to use an already existing session.

### Declaration

```

          void AsExistingSession(QcsSessionInfo sessionInfo)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [QcsSessionInfo](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.QcsSessionInfo.htm) | sessionInfo | The session information to use when connecting. |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.IQcsLocation.AsExistingSession.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.IQcsLocation.AsExistingSession.htm)

## AsExistingSession(JObject)

Configure the location to use an already existing session.

### Declaration

```
void AsExistingSession(JObject sessionInfo)
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| Newtonsoft.Json.Linq.JObject | sessionInfo | The session information to use when connecting. |