[jboss-user] [JBoss Seam] - Re: session timeout handling
Thanks for your reply I've tried your suggestion, it doesn't help my situation but i've left the code in (i'm sure i would have had conversation timeout problems at some point...). I get the impression that the technique you speak of would only have an effect if a user was still able to follow a link - ie if the convo was ended and they clicke a link they would be redirected. The problem here is more that the entire app goes 'dead' and nothing is clickable. It seems to happen after 10 minutes, even tho i have my tomcat session timeout set to 45 minutes, and conversation timeout set to 5 minutes (although this only applies to background conversations so the session timeout should take presidence) any other input appreciated, cheers -Rich View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114169#4114169 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114169 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: session timeout handling
Hi Rich, You could try this approach from the booking example. I'm not 100% sure if it works on session timeout, or just a conversation that has ended though. The pages.xml from the booking example has a " no-conversation-view-id="/main.xhtml"" entry that I believe will handle this case. The conversation (and session) are gone so I would think that this would forward to main.xhtml. Below is the top part of the pages.xml. You might need to actually start a conversation for this to work (I'm not sure if it works off of the session). -Jay | http://jboss.com/products/seam/pages"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.0.xsd"; | | no-conversation-view-id="/main.xhtml" | login-view-id="/home.xhtml"> | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113789#4113789 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113789 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user