[ADF, JDev12.1.3] How/where to set the session timeout

Hallo,

After a few minutes of inactivity, the browser displays a message to inform that the session is not more active and only OK been must be clicked to refresh the page.

If a dialog box "btf" has been opened on the left, it becomes...

I would like to know what is the right place/method to set a deadline.

If possible I would like that when the timeout checks, the application performs a redirect to a page I like (for example the login page).

The application of ADF Essentials and is deployed to the GlassFish application server.

My concern is... what should happen to the open operation / pending when the time-out occurs?

For example, the user is modifying an af:table but it has not clicked validate or cancel...

Thank you

Federico

I would like to know what is the right place/method to set a deadline.

For java web applications, you can set the session timeout in the web.xml file. (this is the global settings associated with all sessions)

If you wish, you can set the timeout of session by program (and this is related only to the current http session).

If possible I would like that when the timeout checks, the application performs a redirect to a page I like (for example the login page).

http://fortunefusionminds.blogspot.com/2014/04/how-to-redirect-to-custom-page-whenever.html

ADF: Session expires management redirect to login page | Bungbutan

ADF developers World: Detection and handling of user session expiry

My concern is... what should happen to the open operation / pending when the time-out occurs?

Well, session is destroyed, it will destroy all instances of AM and do rollback.

See also: Andrejus Baranovskis Blog: ADF BC Application Module Instance Timeout and reliance Timeout of Session Web

Dario

Tags: Java

Similar Questions

Maybe you are looking for

  • Camera focusing distance

    Is anything going to be done on the focus distance of the camera? Since the release and after a group of camera development, nothing was done or improved on the minimum focusing distance. The camera can not really take any macro shots because focus d

  • How can I move from Vista Home Premium to Windows 7 hp? Is it better to buy the software disk or download the software?

    My Hp Pavilion Elite M9340F desktop PC was the best computer I've ever owned five computers desktop and portable three. Not only use the personal media drive Bay and two bays of lightscribe disc, I upgraded the video card and the power supply because

  • Installation of program but keep getting into user admin log to load the message of the program!

    I am trying to install a program called Simple centre for streaming of files on my PS3 so I can watch what I have on my laptop on my tv problem, it is that when I start to install the program it tells me to log-in as an administrator. The profile I'm

  • Graphical installation

    I have a HP Pavilion 500-214. I had installed a power SUPPLY Corsair CX500 block on it. I also bought the AMD Radeon R7 240 2 GB graphics card. I tried to install the graphics card, yet I get 6 beeps after turning on my PC. Any suggestions?

  • First Clip

    Hello, I have the first clip installed on my Android, but that in English, never seen the videos of application in Portuguese, how can I change or correct?