How to setup Session-Timeout in ADF application

Scenario: When there was no user activity performed in the ADF page for 5 minutes  in my application, the session was getting timed-out. Due to this the User need to re-login again into the ADF application.

But in my case the session timeout need to increase from 5min to 30min.

Resolution: In your ADF application, within web.xml file,  add the below code with in <web-app> </web-app> tags –

  <session-config>
      <session-timeout>30</session-timeout>
   </session-config>

30, It’s the time in minutes a session will exist when there’s no user interaction with the session. After this period the session will be invalidated.

You can modify to value as per your requirement.

Advertisements
This entry was posted in ADF (Application Development Framework) and tagged , , , , , . Bookmark the permalink.

2 Responses to How to setup Session-Timeout in ADF application

  1. What’s up, I check your blogs on a regular basis. Your story-telling style is witty, keep up the good work!

  2. Hello, all is going well here and ofcourse every one is sharing facts, that’s actually good, keep up writing.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s