Persistent Cookie Problem

Discussion in 'ASP .Net Security' started by sanchita, Mar 23, 2007.

  1. sanchita

    sanchita Guest

    Hello everyone,

    I am having a problem with persistent cookies. Even after setting
    "CreatePersistentCookie" to true in "FormsAuthentication.SetAuthCookie" I'm
    somehow being logged out after the specifed timeout provided in "forms"
    element of web.config.

    I read somewhere that persistent cookies take their timeout from the timeout
    attribute on the forms authentcation node. If I have to enter a timeout of
    days/weeks then it doesnt really make sense to make my cookie persist in
    this fashion, that defies the purpose of persistent cookies.

    Any insights welcome

    Thanks,
    Sanchita
     
    sanchita, Mar 23, 2007
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Marco Rispoli

    Non-persistent cookie

    Marco Rispoli, May 6, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    595
    clintonG
    May 8, 2004
  2. Kepler
    Replies:
    0
    Views:
    802
    Kepler
    Oct 27, 2004
  3. Replies:
    4
    Views:
    1,087
    Kevin Frey
    Oct 24, 2005
  4. GaryDean
    Replies:
    4
    Views:
    910
    Steven Cheng[MSFT]
    Jul 13, 2007
  5. gk
    Replies:
    7
    Views:
    1,005
    Tom Anderson
    Oct 12, 2010
Loading...

Share This Page