i am using My Eclipse for application development, Struts framework (Web Application).
And using Jboss-4.0 as my application server.
Let me know if it is possible to set session time in Jboss Server?
I want to redirect to login page after specific time
Let me know if it is possible to set session time in Jboss Server?
I want to redirect to login page after specific time
So you want the session timeout for your web application. You can set it in the web.xml of your application. Look at the web.xml dtd, it has a session-config element which can be configured with a session-timeout element.
What problem are you running into and please post the web.xml configuration.
While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted.
Hi Arun,
if you were speaking about time out related to HTTP session it is better to use HTTP session parameter "LastAccessTime"..i dint understand your scenario ? clearly mention where you want to implement session timeout?,is it for a perticular page or for bean..?
ok i read your previous post....see if you are using jsp you can make use of "LastAccessTime" variable and use java script for validation and redirection. hope it will help you...
SCJP, SCWCD, WIPO-IP
Is this the real life? Is this just fantasy? Is this a tiny ad?