D
DamienS
Hi,
I'm trying to get away from using global.asax for reasons of
'neatness'.
Am I able to register a HTTPModule that captures the starting of a
user session? Isn't Session_Start an event in global.asax? ... and
isn't global.asax exposing events of HttpApplication?
What am I missing?
Thanks in advance,
Damien
public class clsSessionManager : IHttpModule
{
#region IHttpModule Members
void IHttpModule.Dispose()
{
}
void IHttpModule.Init(HttpApplication context)
{
// I would have thought that I could use
context.SessionStart+= here....
}
#endregion
}
I'm trying to get away from using global.asax for reasons of
'neatness'.
Am I able to register a HTTPModule that captures the starting of a
user session? Isn't Session_Start an event in global.asax? ... and
isn't global.asax exposing events of HttpApplication?
What am I missing?
Thanks in advance,
Damien
public class clsSessionManager : IHttpModule
{
#region IHttpModule Members
void IHttpModule.Dispose()
{
}
void IHttpModule.Init(HttpApplication context)
{
// I would have thought that I could use
context.SessionStart+= here....
}
#endregion
}