2003-07-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Thu, 31 Jul 2003 15:25:04 +0000 (15:25 -0000)
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Thu, 31 Jul 2003 15:25:04 +0000 (15:25 -0000)
* FormsAuthenticationModule.cs: really renew the ticket. Thanks to
Jens Thiel <Jens@Thiel.DE>.

svn path=/trunk/mcs/; revision=16938

mcs/class/System.Web/System.Web.Security/ChangeLog
mcs/class/System.Web/System.Web.Security/FormsAuthenticationModule.cs

index 0004d6ad02437000c7a41d5f751f7eef29e76b9f..11fe7b35129621a29965c7ca9f4a6984ff7e63be 100644 (file)
@@ -1,3 +1,8 @@
+2003-07-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * FormsAuthenticationModule.cs: really renew the ticket. Thanks to
+       Jens Thiel <Jens@Thiel.DE>.
+
 2003-02-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
 
        * UrlAuthorizationModule.cs: tell the application not to run any other
index ba3ff90b12f981a43497b395c02896d7c6f28ec3..57ca2bebd938cd267bd23e59c67ba9da99c4bd07 100644 (file)
@@ -67,7 +67,7 @@ namespace System.Web.Security
                                return;
 
                        FormsAuthenticationTicket ticket = FormsAuthentication.Decrypt (cookie.Value);
-                       FormsAuthentication.RenewTicketIfOld (ticket);
+                       ticket = FormsAuthentication.RenewTicketIfOld (ticket);
                        context.User = new GenericPrincipal (new FormsIdentity (ticket), new string [0]);
 
                        cookie.Value = FormsAuthentication.Encrypt (ticket);