Jason Livengood
asked on
Need to Modify the Forms Authentiction Timeout
Hi and thanks for taking a moment. I need an easy way to modfiy the timeout value for forms authentication in a asp.net 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" />
</authentication>
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.
Jason
<authentication mode="Forms">
<forms loginUrl="login.aspx" name=".CLEVEMEDFORMSAUTH" timeout="1" />
</authentication>
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.
Jason
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER