Note that there are some explanatory texts on larger screens.

plurals
  1. POWhen does the JSF view state expire?
    primarykey
    data
    text
    <p>I believe the following is true</p> <ul> <li>if <code>javax.faces.STATE_SAVING_METHOD</code> is set to <code>client</code>, then the view never expires</li> <li>a <code>ViewExpiredException</code> will be thrown <ul> <li>if <code>javax.faces.STATE_SAVING_METHOD</code> is set to <code>server</code> <strong>and</strong> the view state is not available</li> <li>when the session is destroyed (because all the views saved in the session will logically also be expired at the same time)</li> <li>when a value is set for <a href="https://wikis.oracle.com/display/GlassFish/JavaServerFacesRI#JavaServerFacesRI-Whatcontextparametersareavailableandwhatdotheydo?" rel="nofollow noreferrer">com.sun.faces.clientStateTimeout</a> (defaults to NONE) and the time between requests exceeds this configured time</li> </ul></li> </ul> <p>I don't know</p> <ol> <li>what are the reasons for view state not beeing available anymore (eexcept session timeout)?</li> <li>is there any time value that can be configured to control view state timeout?</li> </ol> <p>Thank You</p> <p><strong>Related</strong>:</p> <ul> <li><a href="https://stackoverflow.com/questions/3642919/javax-faces-application-viewexpiredexception-view-could-not-be-restored">javax.faces.application.ViewExpiredException: View could not be restored</a></li> <li><a href="https://stackoverflow.com/questions/4105439/com-sun-faces-numberofviewsinsession-vs-com-sun-faces-numberoflogicalviews/16050424#16050424">com.sun.faces.numberOfViewsInSession vs com.sun.faces.numberOfLogicalViews</a></li> <li><a href="https://stackoverflow.com/questions/18056806/jsf-view-expired-imply-session-destroyed">jsf view expired imply session destroyed?</a></li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload