Category "global-asax"

C# Webapplication: Why is session usercount (in global.Session_Start) different from hub usercount (in hub OnConnected)

I want to display the number of currently active users. I first realized that in global.Session_Start protected void Session_Start(object sender, EventArgs e) {

Return the Method Name and Line Number upon Error in page in global.asax file

My code is as below , would like to get Page Name , Method Name and Page Line Number where error occured. void Application_Error(object sender, EventArgs e)