1 2 3 4 5 6 7 8 9 10 11
namespace WebFormsRelyingParty { using System; using System.Web.Security; public partial class Logout : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { FormsAuthentication.SignOut(); Response.Redirect("~/"); } } }