Login.Login1_LoggedIn C# (CSharp) Method

Login1_LoggedIn() protected method

protected Login1_LoggedIn ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void
    protected void Login1_LoggedIn(object sender, EventArgs e)
    {
        /* Override the ReturnURL for specific pages like Verify.
         */
        string return_url = Request.QueryString["ReturnUrl"];
        if (return_url == null || return_url.Contains("Verify.aspx"))
        {
            Response.Redirect("~/Overview.aspx");
        }
    }