开发者

Session state timeout parameter issue

I am trying to set the timeout parameter of session state but it doesnt time out.

<sessionState mode="InProc"  timeout="1"></sessionState>

I am refreshing the page after 1 minute and I still the 开发者_Python百科session state value. Why?


Use this way (if in case you are using FA as well)

<system.web>
    <authentication mode="Forms">
          <forms timeout="1"/>
    </authentication>

    <sessionState timeout="1"  />
</system.web>


<system.web>
    <authentication mode="Forms">
          <forms timeout="1"/>
    </authentication>

    <sessionState timeout="1"  />
</system.web>

you welcome


The MSDN says it shouldn't be lower then 4 minutes. Refer to the following it might help:

http://justgeeks.blogspot.com/2008/07/aspnet-session-timeouts.html

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜