有没有办法让一个特定的请求不在会话中?
Servlet规范的Ch.7.6(2.5和3.0版本)说:
"The session is considered to be accessed when a request that is part of the session is first handled by the servlet container."
我不希望特定的一个请求(假设/captureLastFileActiveTime
)将成为会话的一部分,首先由servlet容器处理。所有其他请求应该是会话的一部分,首先由servlet容器处理。有可能吗?
我使用apache-tomcat-7.0.35
作为我的网络服务器。