To which events of which class do these 2 event handlers belong?
For instance in is registered to BeginRequest of HttpApplication class by naming convention. 通过命名约定被注册到HttpApplication类的BeginRequest。
I couldn't find anything in these 3 classes regarding those 2 session events: , , , ,
They belong to the SessionStateModule
.
It's old documentation, but if you start at Using Modules with the Global.asax File you'll see that the events you can subscribe to are exposed by types that implement the IHttpModule
interface. And looking at the documentation for that interface , you'll find the built-in types that implement IHttpModule
:
Class Description
DefaultAuthenticationModule Insures that an Authentication object is present in the context. This class cannot be inherited.
FileAuthorizationModule Verifies that the remote user has NT permissions to access the file requested. This class cannot be inherited.
FormsAuthenticationModule Enables ASP.NET applications to use forms authentication. This class cannot be inherited.
PassportAuthenticationModul Provides a wrapper around PassportAuthentication services. This class cannot be inherited.
SessionStateModule Provides session-state services for an application.
UrlAuthorizationModule Provides URL-based authorization services for allowing or denying access to specified resources. This class cannot be inherited.
WindowsAuthenticationModule Enables ASP.NET applications to use Windows/IIS authentication. This class cannot be inherited.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.