Search code examples
javasessionsession-timeoutjdeveloperoracle-adf

ADF Session timeout automatic redirection without popup dialog


Is there a possibility to redirect automaticaly to another page after session timeout without the popup dialog?

See picture below enter image description here

I saw this How to automatically Redirect to Different Page on session timeout which use javascript but it's not what i want. Is there another simple way? May be some settings in web.xml?


Solution

  • in the web.xml you just need to make the settings below:

    <context-param>
      <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
      <param-value>client</param-value>
    </context-param>
    
    <context-param>
      <param-name>
         oracle.adf.view.rich.sessionHandling.WARNING_BEFORE_TIMEOUT
      </param-name>
        <param-value>0</param-value>
    </context-param>