简体   繁体   English

会话管理和滑动到期

[英]Session management and sliding expiration

Default session time out is 20 minute. 默认会话超时为20分钟。 If some one interact with web page just before session time out which has been idle for long time then what will happen. 如果某个人在会话超时之前与网页进行了交互,而这段时间已经空闲很长时间,那么会发生什么。 Session time out will receed I mean increase or session will time out after 20 minute. 会话超时将退出我的意思是增加或会话将在20分钟后超时。

I heard session time out is based on sliding expiration. 我听说会话超时是基于滑动到期。 so tell me due to sliding expiration session time out increase? 那么告诉我由于滑动到期会话超时增加?

If increase then how much it will increase...is it next 20 minute? 如果增加那么增加多少......接下来是20分钟?

Please discuss about the nature of session time out and how sliding time out works. 请讨论会话超时的性质以及滑动超时的工作原理。 How session time out increase due to sliding time out? 会话超时如何因滑动时间而增加?

滑动到期意味着每次访问会话时,它都会将计时器重新设置为20分钟。

每次访问会话时, Sliding expiraton将重置到期时间。如果在中间访问会话,则根据您的问题再次将超时设置为20分钟。

if timeout = 120 mins 如果超时= 120分钟

If a user visits his account then sliding expiration value will be reset and from that point, his session will be counted. 如果用户访问其帐户,则将重置滑动到期值,并且从该点开始,将计算其会话。 If a user does not perform any activity within 2hrs then his session will be expired. 如果用户在2小时内未执行任何活动,则其会话将过期。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM