What is different between forms Authentication timeout vs session timeout in Asp.net application?
What is different between session timeout and form开发者_如何转开发s timeout property
<authentication mode="Forms">
<forms protection="All" slidingExpiration="true" defaultUrl="Administrator/Default.aspx" loginUrl="login" timeout="180" >
</forms>
</authentication>
<sessionState timeout="300">
</sessionState>
how differ <forms> timeout vs <sessionstate> timeout properties in web.config file.?
Thanks
The forms timeout is the inactivity timeout for forms authentication (or absolute timeout if you're not using sliding expiration).
Sessionstate timeout is the inactivity timeout for the user's session data - e.g. any session data you store for that user.
精彩评论