会话超时是否在每个请求上重置 [英] Does Session timeout reset on every request

查看:31
本文介绍了会话超时是否在每个请求上重置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无论我们是否检查会话变量,会话超时是否会在每个请求上重置?或者我们应该至少使用一个会话变量?

Does Session timeout reset on every request regardless of whether we check sessions variables? Or we should use atleast one session variables?

Ajax 请求是否会导致重置会话超时?像 Update PaneljQuery ajax ,...

Does Ajax request cause resetting session timeout? like Update Panel ,jQuery ajax ,...

谢谢

编辑 1)

HTTP Get 是否会导致重置会话超时??

Does HTTP Get cause resetting session timeout??

推荐答案

是的,确实如此.您是否实际使用 Session 并不重要.
但是,如果您只使用 ajax 调用,您可能会遇到一些问题.
(虽然我自己没有遇到过,这里是解释)

yes, it does. it doesn't matter whether you actually use the Session or not.
However, if you're using only ajax calls, you might run into some problems.
(although I haven't encountered it myself, here's an explanation)

这篇关于会话超时是否在每个请求上重置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆