Jboss 超时是如何工作的?
jboss中的超时是如何工作的?网络应用程序如何知道何时重定向到登录页面?
只是为了澄清! -我知道如何在jboss上配置超时。我的问题是,Jboss 如何知道会话已超时,当超时时,如何配置它以在超时发生后将请求发送到登录页面?
How does timeout in jboss works? How does a web-app knows when to re-direct to a login page?
Just to clarify!
-I know how to configure timeout on jboss. My question is, how does Jboss know that a session has timed out and when it does, how do you configure it to send the request to login page once the timeout has happened?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以在所有可部署单元(例如 web.xml 中的 .war 文件)上配置超时
You can configure a time out on an all deployable units like .war files in web.xml
JBoss 中的
HttpSession
超时可以设置为三个不同级别:编辑 Web 部署程序的 超时值默认 wed 应用程序配置:在
web.xml
中HttpSession
超时:将与上面相同的标签添加到
WEB-INF/ web.xml
。以下是进一步说明的 DTD:来自 https://developer.jboss.org/wiki/HttpSessionTimeout
请致电
The
HttpSession
timeout in JBoss can be set at three different levels:Edit the Web Deployer's default wed application configuration: in the
web.xml
HttpSession
timeout on a per-webapp basis:Add the same tags as above to
WEB-INF/web.xml
. Here is the DTD for further explanation:From https://developer.jboss.org/wiki/HttpSessionTimeout
call