I want to set the cookie FormsAuthentication to timeout, but VIA CODE. I know I can do this in web.config, but I want to configure in the database. Is this possible with code?
<system.web>
<authentication mode="Forms">
<forms timeout="50000000"/>
</authentication>
</system.web>
source
share