Details
Description
                    With a stock Mojarra application, when a session expires there are different behaviours depending on how the session expiry was triggered and whether or not Ajax and ICEfaces are involved.  More detailed information is available in  http://jira.icefaces.org/browse/ICE-5997.
In any event, most session expiration ends up triggering a ViewExpiredException. It would be better to handle actual session expiration in a more explicit way. This involves accurately determining when a session expiry has occurred and then allowing that information to be handled by the server and/or client as appropriate.
In any event, most session expiration ends up triggering a ViewExpiredException. It would be better to handle actual session expiration in a more explicit way. This involves accurately determining when a session expiry has occurred and then allowing that information to be handled by the server and/or client as appropriate.
Issue Links
- depends on
 - 
            
        
        ICE-6004
        Add a custom ExceptionHandler to help with server side exception handling.
    
-         
     - Closed
 
 -         
 
Activity
- All
 - Comments
 - History
 - Activity
 - Remote Attachments
 - Subversion
 
| Repository | Revision | Date | User | Message | 
| ICEsoft Public SVN Repository | #22404 | Thu Sep 23 10:45:13 MDT 2010 | deryk.sinotte |      | 
| Files Changed | ||||
            					
			 
                            MODIFY
            				/icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/util/EnvUtils.java
            
             | 
| Repository | Revision | Date | User | Message | 
| ICEsoft Public SVN Repository | #22402 | Thu Sep 23 09:31:02 MDT 2010 | deryk.sinotte |      | 
| Files Changed | ||||
            					
			 
                            MODIFY
            				/icefaces2/trunk/icefaces/samples/test/invalidate/src/main/webapp/ice.xhtml
            
             
                            MODIFY
            				/icefaces2/trunk/icefaces/samples/test/invalidate/src/main/java/org/icefaces/test/invalidate/TestBean.java
            
             
                            MODIFY
            				/icefaces2/trunk/icefaces/samples/test/invalidate/src/main/webapp/WEB-INF/web.xml
            
             | 
| Repository | Revision | Date | User | Message | 
| ICEsoft Public SVN Repository | #22401 | Thu Sep 23 09:30:00 MDT 2010 | deryk.sinotte |      | 
| Files Changed | ||||
            					
			 
                            ADD
            				/icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/application/SessionExpiredException.java
            
             
                            DEL
            				/icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/context/SessionExpiredException.java
            
             
                            MODIFY
            				/icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/SessionTimeoutMonitor.java
            
             
                            ADD
            				/icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/SessionExpiredListener.java
            
             
                            MODIFY
            				/icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/util/EnvUtils.java
            
             
                            DEL
            				/icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/context/SessionExpiredListener.java
            
             | 
