This content has been marked as final. 
    
Show                 4 replies
    
- 
        1. Re: Conversation and session timeoutgavin.king Jan 20, 2007 12:19 PM (in response to svadu)Well, besides anything else, there is no way to "discover" the session timeout... 
- 
        2. Re: Conversation and session timeoutsvadu Jan 20, 2007 12:41 PM (in response to svadu)Hi Gavin, 
 Thanks for the quick reply. Do you think think HttpSession.getMaxInactiveInterval() might be an option? The description of it says: "Returns the maximum time interval, in seconds, that the servlet container will keep this session open between client accesses."
- 
        3. Re: Conversation and session timeoutgavin.king Jan 20, 2007 12:44 PM (in response to svadu)oh, I never noticed that one before! Nice. 
 Anyway, my guess is that normally you want the conversation timeout to be shorter than the session timeout.
- 
        4. Re: Conversation and session timeoutsvadu Jan 20, 2007 12:50 PM (in response to svadu)"gavin.king@jboss.com" wrote: 
 oh, I never noticed that one before! Nice.
 Anyway, my guess is that normally you want the conversation timeout to be shorter than the session timeout.
 Normally I agree. But recently I had to create a page with 4 different forms each of those uses ajax4jsf to operate with lists and images. And then if you leave the ui 'untouched' for 120 seconds (I know I can set it longer) and then trying to do something again I get the conversation timeout message.
 Then I though that would it be nice to have the conversation 'mapped' to the session timeout (which is a bit longer anyway) unless a config (which already exists) is provided to override the setting. It might add kinda 'sensible default' (love this expression :) )... What do you think?
 
    