Link to home
Start Free TrialLog in
Avatar of Jason Livengood
Jason LivengoodFlag for United States of America

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  
ASKER CERTIFIED SOLUTION
Avatar of guru_sami
guru_sami
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Jason Livengood

ASKER

thanks