ASP.NET forms authentication – created a ticket, but how does FormsAuthentication know about it?

Discussion in 'ASP .Net Security' started by jeljeljel, Sep 9, 2008.

  1. jeljeljel

    jeljeljel Guest

    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...


    Can someone shed some light for me please?

    jeljeljel, Sep 9, 2008
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.