Well you can not do this using
HttpModule. Fundamentally HttpModule gets called whenever their is a new request comes to your Web-Application.
Have a look at below link for more information on
HttpModule and
HttpHandler.
This Article has details of all the Events of HttpModule.
http://www.15seconds.com/issue/020417.htm
Event
global.asax Session_End
will not support, if you go for
OutProc Session Management.
However below is a CodeProject Article which has a work around for this.
Prevent Session Timeout in ASP.NET
But above article can not help you if User closes the Browser. For that you may have a look at below discussion.
http://forums.asp.net/p/1153888/1891072.aspx