Official Content

Specifies the name of the instance used to connect to a distributed Redis provider.

Scope

Generators: .NET
Level: Generator

Description

It is common to have multiple applications using a single Redis server, so it is necessary to assign an arbitrary and unique name to each application to differentiate them from each other. This ensures that each has its own session storage space on the Redis server and avoids conflicts between sessions of different applications.

Therefore, if there are multiple applications connecting to the same Redis, it is necessary to enter an arbitrary name in this property. However, if you have only one application connecting to the Redis server, you can leave the property empty or enter an optional name to identify it.

You must select the "Redis" value in the Session State Provider property in order to specify the Instance Name property. 

Runtime/Design time

This property applies only at runtime.

How to apply changes

To apply the corresponding changes when the property value is configured, Build any object.

Availability

This property is available since GeneXus 18 Upgrade 4.

See Also

HowTo: Configure Session State In ASP.NET Core

Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant