Answer: In web.config file, you specify the timeout property as :-
<system.web>
<authentication mode="Forms">
<forms name="Deviant_Akiii" loginUrl="login.aspx" timeout="30" defaultUrl="default.aspx" cookieless="UseCookies" slidingExpiration="true">
</forms>
</authentication>
</system.web>
In the above code, the timeout of the cookie is
30 minutes . The name property in the form tag is the
name of the cookie (that is)
Deviant_Akiii
Thanks and Regards
Akiii
|
Alert Moderator