Permalink
Browse files

2005-12-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* FormsAuthentication.cs: don't end the request in
	RedirectFromLoginPage.


svn path=/trunk/mcs/; revision=54719
  • Loading branch information...
1 parent 1c907bb commit fc52c911d8032c45e71e8ec6aac55d47b2bd83a7 @gonzalop gonzalop committed Dec 22, 2005
@@ -1,5 +1,10 @@
2005-12-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+ * FormsAuthentication.cs: don't end the request in
+ RedirectFromLoginPage.
+
+2005-12-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
* FormsAuthenticationModule.cs: expire the cookie. Fixes bug #77043.
Patch by Cyrille Colin.
@@ -403,7 +403,7 @@ public static void RedirectFromLoginPage (string userName, bool createPersistent
Initialize ();
SetAuthCookie (userName, createPersistentCookie, strCookiePath);
- Redirect (GetRedirectUrl (userName, createPersistentCookie));
+ Redirect (GetRedirectUrl (userName, createPersistentCookie), false);
}
public static FormsAuthenticationTicket RenewTicketIfOld (FormsAuthenticationTicket tOld)
@@ -533,5 +533,10 @@ private static void Redirect (string url)
{
HttpContext.Current.Response.Redirect (url);
}
+
+ private static void Redirect (string url, bool end)
+ {
+ HttpContext.Current.Response.Redirect (url, end);
+ }
}
}

0 comments on commit fc52c91

Please sign in to comment.