Skip to content
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

Ensure HttpApplication raises SessionStart #551

Merged
merged 1 commit into from
Nov 6, 2024
Merged

Ensure HttpApplication raises SessionStart #551

merged 1 commit into from
Nov 6, 2024

Conversation

twsouthwick
Copy link
Member

@twsouthwick twsouthwick commented Nov 4, 2024

This fixes two issues that combined do not raise this event:

  • A typo sent the event SessionEnd instead of SessionStart
  • Wrapped ASP.NET Core session didn't implement the IsNewSession - it was always false. Now we check if there are any keys to determine if it is a new session

Copy link
Member

@mjrousos mjrousos left a comment

Choose a reason for hiding this comment

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

LGTM

@twsouthwick twsouthwick force-pushed the session-start branch 2 times, most recently from 27cc760 to 1787abb Compare November 4, 2024 22:52
This fixes two issues that combined to not raise this event:

- A typo sent the event SessionEnd instead of SessionStart
- Wrapped ASP.NET Core session didn't implement the IsNewSession - it was always false. Now we check if there are any keys to determine if it is a new session
@twsouthwick twsouthwick changed the title Ensure HttpApplicaiton raises SessionStart Ensure HttpApplication raises SessionStart Nov 6, 2024
@joperezr joperezr merged commit dc28598 into main Nov 6, 2024
5 checks passed
@joperezr joperezr deleted the session-start branch November 6, 2024 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants