* FormsAuthenticationModule.cs: really renew the ticket. Thanks to
Jens Thiel <Jens@Thiel.DE>.
svn path=/trunk/mcs/; revision=16938
+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
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);