This content has been marked as final.
Show 1 reply
-
1. Re: Session Expiry Handling
aspdeepak Oct 12, 2009 7:23 AM (in response to schamarthi)Jboss App Server V 4.2.2
Jboss Portal - V 2.7.0
DB - Mysql 5.0
you should have the portal and portlet session time out as the same to get rid of this kind of problems.
you should configure the session-timeout in the following web.xml.<jboss-4.2.2.GA_ROOT>\server\default\deploy\jboss-portal.sar\portal-server.war\WEB-INF\web.xml
<jboss-4.2.2.GA_ROOT>\server\default\deploy\jboss-portal.sar\portal-core.war\WEB-INF\web.xml
<jboss-4.2.2.GA_ROOT>\server\default\deploy\jboss-web.deployer\conf\web.xml
Here is an example setting timeout to 10 min.<session-config> <session-timeout>10</session-timeout> </session-config>
Note: Also please use java script to handle the session expiry on the client side.
Please do specify the version of Jboss App server, and the portal server that you are using. Its just a rule of thumb to be followed, also its already mentioned in this forum.