Prev: MVC
Next: Migrating MVC based website
From: Alex Diaz on 22 Aug 2010 09:58 Hi. I am getting a "System.NullReferenceException" when I call FormsAuthentication.SignOut() from Session_End method in global.asax. Code is as follow: void Session_End(object sender, EventArgs e) { FormsAuthentication.SignOut(); this.Session["user"] = null; Response.Redirect("login.aspx"); } Any ideas why this could be happening? Thanks.
|
Pages: 1 Prev: MVC Next: Migrating MVC based website |