ASP.NET forms authentication – created a ticket, but how does FormsAuthentication know about it?
- From: jeljeljel <jlivermore@xxxxxxxxxxxxxxxxxxx>
- Date: Tue, 9 Sep 2008 06:50:09 -0700 (PDT)
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
.
- Prev by Date: Re: Webconfig error CRM3 webapplication
- Next by Date: Security Exception - Accessing remote folders & files
- Previous by thread: Webconfig error CRM3 webapplication
- Next by thread: Security Exception - Accessing remote folders & files
- Index(es):
Relevant Pages
|