troubleshooting Question

Need to Modify the Forms Authentiction Timeout

Avatar of Jason Livengood
Jason LivengoodFlag for United States of America asked on
3 Comments1 Solution282 ViewsLast Modified:
Hi and thanks for taking a moment. I need an easy way to modfiy the timeout value for forms authentication in a page. Seems that this is not as readily available as one might think. Need to do this in C# for a particular page and then revert back to the value in the web.config onced finished.

<authentication mode="Forms">
      <forms loginUrl="login.aspx" name=".CLEVEMEDFORMSAUTH" timeout="1" />

I could write to the web.config but am told there is a performance hit with this. Would like to create a ticket/cookie on the page load event of a particular page. Any help or advice would be greatly appreciated.

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros