Author: gonzalo
Date: 2005-12-21 23:19:55 -0500 (Wed, 21 Dec 2005)
New Revision: 54719

Modified:
   trunk/mcs/class/System.Web/System.Web.Security/ChangeLog
   trunk/mcs/class/System.Web/System.Web.Security/FormsAuthentication.cs
Log:
2005-12-22 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>

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



Modified: trunk/mcs/class/System.Web/System.Web.Security/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web.Security/ChangeLog    2005-12-22 
04:16:04 UTC (rev 54718)
+++ trunk/mcs/class/System.Web/System.Web.Security/ChangeLog    2005-12-22 
04:19:55 UTC (rev 54719)
@@ -1,5 +1,10 @@
 2005-12-22 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
 
+       * FormsAuthentication.cs: don't end the request in
+       RedirectFromLoginPage.
+
+2005-12-22 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
+
        * FormsAuthenticationModule.cs: expire the cookie. Fixes bug #77043.
        Patch by Cyrille Colin.
 

Modified: trunk/mcs/class/System.Web/System.Web.Security/FormsAuthentication.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.Security/FormsAuthentication.cs       
2005-12-22 04:16:04 UTC (rev 54718)
+++ trunk/mcs/class/System.Web/System.Web.Security/FormsAuthentication.cs       
2005-12-22 04:19:55 UTC (rev 54719)
@@ -403,7 +403,7 @@
 
                        Initialize ();
                        SetAuthCookie (userName, createPersistentCookie, 
strCookiePath);
-                       Redirect (GetRedirectUrl (userName, 
createPersistentCookie));
+                       Redirect (GetRedirectUrl (userName, 
createPersistentCookie), false);
                }
 
                public static FormsAuthenticationTicket RenewTicketIfOld 
(FormsAuthenticationTicket tOld)
@@ -533,5 +533,10 @@
                {
                        HttpContext.Current.Response.Redirect (url);
                }
+
+               private static void Redirect (string url, bool end)
+               {
+                       HttpContext.Current.Response.Redirect (url, end);
+               }
        }
 }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to