-
Notifications
You must be signed in to change notification settings - Fork 12
Add session state Redis support to Azure functions #442
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Cherry pick to beta failed, 1 conflicted file
|
Manual cherry pick to beta success |
Manual cherry pick to beta success |
Manual cherry pick to beta success |
Manual cherry pick to beta success |
|
|
||
| public class RedisHttpSession : ISession | ||
| { | ||
| const int AZURE_SESSION_TIMEOUT_IN_MINUTES = 5; |
There was a problem hiding this comment.
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?
Cherry pick to beta success |
Cherry pick to beta success |
Cherry pick to beta success |
| responseData.Cookies.Append(sessionCookie); | ||
| GXLogging.Debug(log, $"Create new Azure Session Id :{sessionId}"); | ||
| } | ||
|
|
There was a problem hiding this comment.
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.
Cherry pick to beta success |
Cherry pick to beta success |
Cherry pick to beta success |
… CloudServices.dev.config.
Add support for Redis session state for Azure functions.
Issue:91184