Solved .ASPXAUTH cookie lives only 30 minutes, not 50 years

Posted on 2011-10-31
Last Modified: 2012-05-12
Hi ASP Experts,

when I look at Login.RememberMeSet Property, the authentication cookie should live for 50 years. On my system it only lives for 30 minutes, which I checked looking at the cookie's expiration and modification dates.

Where can I define the expiration date of 50 years?

Thank you and best regards,
Question by:Staudte
    LVL 7

    Accepted Solution


    Author Closing Comment

    I was only able to derive the answer to my question, because a parameter timeout="30" appeared in one of the examples. Other than that, both links that were thrown at me did not really go into the direction of my question.

    A fully acceptable respone to my question would have been: In your web.config set
          <forms timeout="30" />

    for 30 minutes cookie expiration date (which is apparently the default), or set it to 26280000 for 50 years.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    AJAX ModalPopupExtender has a required property "TargetControlID" which may seem to be very confusing to new users. It means the server control that will be extended by the ModalPopup, for instance, if when you click a button, a ModalPopup displays,…
    Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now