开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜