I got a little confused about the following: I created an asp.net site with some logic in Session_Start () for Global.asx. I expected this to even call only once during a session. However, an event is fired with every request.
When I declare a dummy session object, this fixes the problem. I can also fix this problem by adding <sessionState mode="InProc" /> to web.config. I am using IIS7 and I checked the default value and it is already set to "In Process".
Am I missing something? Is this normal behavior? I expected this event to work even if I do not declare a session object.
source share