ASP.NET 2.0 Web.Config Lessons Learned

ASP.NET 2.0 Web.Config are much different then 1.0/1.1. I’ll be keeping a running log of the changes I have found, watch outs, and a general lessons learned.

  • slidingExpiration – I’ve never heard of the thing in 1.1, but it was there the whole time. It is a boolean that tells an authetication cookie to refresh the timeout time on every new request. This makes sense, in fact I’m not entirely sure why you would want it different. In ASP.NET 1.1 this was defaulted as TRUE, however in 2.0 it is default as FALSE. Now I know why everyone was being logged out of the application at 5:00 pm everyday. ;)

    <authentication mode=Forms>

    <forms loginUrl=Login.aspx name=.ADAuthCookie timeout=480 slidingExpiration=true/>

    </authentication>

  • Tim

    A .NET, PHP, Marketing Guru authority, at least I hope I am. Reach me at tboland@gmail.com

    8 thoughts on “ASP.NET 2.0 Web.Config Lessons Learned

    1. Yooying says:

      Thank you for sharing the post. It’s so nice to see the information here instagram viewer

    2. You can managing your writing reviews with their writing company. We are integrating the points and important information from various sources at online. The online learning tools and academic tips to be share with their writing service. The relationship can be maintain with customer and writer.

    3. They Are Not Able To Finish The Writing Assignments On Time. For Some Students, Writing Any Writing Assignments Is Able To Waste Their Time

    4. This Is Really A Great Stuff For Sharing. Thanks For Sharing.

    5. I’m Really Impressed With Your Article, Such Great & Usefull Knowledge You Mentioned Here

    6. Pretty helpful material, much thanks for this article

    7. Well thanks for posting such an outstanding idea. I like this blog & I like the topic and thinking of making it right.

    8. You should try to keep your article short. If you want to finish in lessen time. Make sure worlds limit should not exceed more than 500 words. Try to add only relevant data and information. If you feel that you are stuck, you can take assignment help online to get a proper idea. There are several web services which can help you to find out a suitable solution to your problems.

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    *

    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>