#### [Abblix\.Oidc\.Server](https://www.abblix.com/en/docs/api/abblix-oidc-server 'index')
### [Abblix\.Oidc\.Server\.Common\.Configuration](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Common.Configuration 'Abblix\.Oidc\.Server\.Common\.Configuration')

## CheckSessionCookieOptions Class

Defines options for the session check cookie used in monitoring changes in session status\.

```csharp
public record CheckSessionCookieOptions : System.IEquatable<Abblix.Oidc.Server.Common.Configuration.CheckSessionCookieOptions>
```

Inheritance [System\.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object 'System\.Object') → CheckSessionCookieOptions

Implements [System\.IEquatable&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.iequatable-1 'System\.IEquatable\`1')[CheckSessionCookieOptions](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Common.Configuration.CheckSessionCookieOptions 'Abblix\.Oidc\.Server\.Common\.Configuration\.CheckSessionCookieOptions')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/system.iequatable-1 'System\.IEquatable\`1')
### Properties

## CheckSessionCookieOptions\.Domain Property {#Abblix.Oidc.Server.Common.Configuration.CheckSessionCookieOptions.Domain}

The domain name where the cookie is available\. Specifying the domain restricts where the cookie is sent\.
Leaving this value null means the cookie is sent to all subdomains\.

```csharp
public string? Domain { get; set; }
```

#### Property Value
[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')

## CheckSessionCookieOptions\.Name Property {#Abblix.Oidc.Server.Common.Configuration.CheckSessionCookieOptions.Name}

The name of the cookie used to monitor session status changes\. The default value is "Abblix\.SessionId"\.

```csharp
public string Name { get; init; }
```

#### Property Value
[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')

## CheckSessionCookieOptions\.Path Property {#Abblix.Oidc.Server.Common.Configuration.CheckSessionCookieOptions.Path}

The path for the cookie\. Can be set to the check\_session\_iframe endpoint path
\(e\.g\., "/connect/checksession"\) to ensure the cookie is only sent to that endpoint,
or left as "/" for broader availability\.
The default value is "/" \(root path\)\.

```csharp
public string Path { get; set; }
```

#### Property Value
[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')

## CheckSessionCookieOptions\.SameSite Property {#Abblix.Oidc.Server.Common.Configuration.CheckSessionCookieOptions.SameSite}

The SameSite attribute for the cookie which asserts that a cookie must not be sent with cross\-origin requests,
providing some protection against cross\-site request forgery attacks \(CSRF\)\.
The default value is "None", which permits the cookie to be sent with cross\-site requests\.
Valid options are "None", "Lax", and "Strict"\.
Note: For OpenID Connect Session Management to work in modern browsers, SameSite must be "None"
to allow the cookie to be accessed from the check\_session\_iframe running in cross\-origin context\.

```csharp
public string SameSite { get; set; }
```

#### Property Value
[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')
