Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


ASP.net .ASPXAUTH cookie lives only 30 minutes, not 50 years

Posted on 2011-10-31
Medium Priority
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

Accepted Solution

kovilpattiBalu earned 1000 total points
ID: 37056874

Author Closing Comment

ID: 37079109
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Integration Management Part 2
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…
Suggested Courses

581 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