This is rather strange, I thought that just adding this code to Global.asax.cswould be enough:
void Session_Start(object sender, EventArgs e) {
}
But the method is not called ... How to enable the ASP.NET method Session_Startwhen starting a session?
I cannot figure out how to catch a session creation event.
source
share