views:

285

answers:

2

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?

A: 

I think you're asking how to set the timeout. In that case, the first hit on google for jboss session timeout is what you need.

pra
+1  A: 

You can configure a time out on an all deployable units like .war files in web.xml

<session-config>
  <session-timeout>30</session-timeout>
</session-config>
stacker