Tag Archives: global.asax

Why is session NULL in BeginRequest()? (httpRequestBegin)

Have you ever wondered why the session is NULL when a request begins? The answer is simple: The Application_BeginRequest() event is fired before the Session_Start() event. The BeginRequest() event is fired for each request as the first event. The Session_Start() … Continue reading

Posted in General .NET, Sitecore 6, Sitecore 7, Sitecore 8 | Tagged , , , , , , | 1 Comment

Measuring sessions for Sitecore 6 sites

I recently had to do some performance and stress tests on a Sitecore 6 website. But no matter what I did, the Perfmon showed 0 sessions. At first I blamed the built in session handling in Sitecore, where Sitecore persists the … Continue reading

Posted in Sitecore 6 | Tagged , , | Leave a comment