J
jeljeljel
I have seen several examples where a FormsAuthenticationTicket is
constructed and added to a manually created cookie. However, I can’t
connect the dots to see how FormsAuthentication “knows” about this
ticket that has been created? The only method that I can see might do
this is the SetAuthCookie, but the ticket isn’t passed as a parameter.
I need to create my own FormsAuthenticationTicket because I need it to
expire at the end of the day. The web.config setting only allows me
to specify a scalar minute value. I need it to expire at...
DateTime.Now.AddDays(1).Date;
Can someone shed some light for me please?
Thanks,
John
constructed and added to a manually created cookie. However, I can’t
connect the dots to see how FormsAuthentication “knows” about this
ticket that has been created? The only method that I can see might do
this is the SetAuthCookie, but the ticket isn’t passed as a parameter.
I need to create my own FormsAuthenticationTicket because I need it to
expire at the end of the day. The web.config setting only allows me
to specify a scalar minute value. I need it to expire at...
DateTime.Now.AddDays(1).Date;
Can someone shed some light for me please?
Thanks,
John