ScrewTurn.Wiki.BasePage.OnInit C# (CSharp) Method

OnInit() protected method

protected OnInit ( EventArgs e ) : void
e System.EventArgs
return void
        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);

            // Mitigate Cross-Site Request Forgery (CSRF/XSRF) attacks
            ViewStateUserKey = Session.SessionID;
        }