Skip to content

Conversation

@sjuarezgx
Copy link
Contributor

Add support for Redis session state for Azure functions.
Issue:91184

@sjuarezgx sjuarezgx had a problem deploying to external-storage-tests September 8, 2021 22:35 Failure
@genexusbot
Copy link
Collaborator

Cherry pick to beta failed, 1 conflicted file
  • dotnet/src/extensions/Azure/Handlers/GeneXus.Deploy.AzureFunctions.Handlers.csproj

@genexusbot genexusbot added the conflict Conflict merging to beta branch label Sep 8, 2021
@sjuarezgx sjuarezgx had a problem deploying to external-storage-tests September 8, 2021 22:37 Failure
@sjuarezgx sjuarezgx temporarily deployed to external-storage-tests September 8, 2021 23:14 Inactive
@sjuarezgx sjuarezgx temporarily deployed to external-storage-tests September 9, 2021 12:59 Inactive
@sjuarezgx sjuarezgx temporarily deployed to external-storage-tests September 9, 2021 13:41 Inactive
@genexusbot
Copy link
Collaborator

Manual cherry pick to beta success

@jechague jechague removed the conflict Conflict merging to beta branch label Sep 9, 2021
@genexusbot
Copy link
Collaborator

Manual cherry pick to beta success

@genexusbot
Copy link
Collaborator

Manual cherry pick to beta success

@genexusbot
Copy link
Collaborator

Manual cherry pick to beta success


public class RedisHttpSession : ISession
{
const int AZURE_SESSION_TIMEOUT_IN_MINUTES = 5;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This 5 minutes settings means that all Redis Data will expire after 5 minutes?
If yes, then how do I specify Redis Session Timeout expiration?

@sjuarezgx sjuarezgx temporarily deployed to external-storage-tests September 28, 2021 19:15 Inactive
@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@sjuarezgx sjuarezgx temporarily deployed to external-storage-tests September 30, 2021 15:01 Inactive
@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@sjuarezgx sjuarezgx temporarily deployed to external-storage-tests October 20, 2021 19:46 Inactive
@genexusbot
Copy link
Collaborator

Cherry pick to beta success

responseData.Cookies.Append(sessionCookie);
GXLogging.Debug(log, $"Create new Azure Session Id :{sessionId}");
}

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the else of this "if" it should refresh the timestamp stored in redis for that sessionId.

@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@sjuarezgx sjuarezgx temporarily deployed to external-storage-tests October 24, 2021 00:35 Inactive
@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@sjuarezgx sjuarezgx temporarily deployed to external-storage-tests October 26, 2021 15:28 Inactive
@sjuarezgx sjuarezgx temporarily deployed to external-storage-tests October 29, 2021 13:23 Inactive
@sjuarezgx sjuarezgx merged commit e9591bc into master Oct 29, 2021
@sjuarezgx sjuarezgx deleted the AddRedisSupportAzureFunc branch October 29, 2021 14:05
claudiamurialdo added a commit that referenced this pull request Jun 17, 2022
claudiamurialdo added a commit that referenced this pull request Jun 24, 2022
…config (#610)

* Fix error introduced at #442 when session timeout is not specified at CloudServices.dev.config.

* Isolate test for Redis and CloudServices.dev.config so it does not affect the rest of the tests.

* Remove unneeded project properties at DotNetRedisTest.csproj.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants