Skip to Content
author's profile photo Former Member
Former Member

Bean in Session getting inaccessible after x minutes


we are currently devloping iViews (JspDynPapes) for EP6 SP2.

We have several iViews which put bean in the iPortalComponentSession and the HttpSession.

We have the following problem:

An iView stores information in a bean and put it into session to be displayed in a table on a JSP. Now,

if the user waits for x minutes (more than 15!) and he triggers an server side event of the ivew, the iView tries to get the bean back from session. But, if the user has done nothing for a certain period, the bean can not be accessed in that session. This raises an NullPointerException. The bean seems to be disappeared or invalid.

Do beans stored in a session get invalid or deleted after a certin period? Can this period be customized?

Thanks for your help,


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Nov 24, 2004 at 01:18 PM

    Hi Maik,

    not the beans stored in the session become invalid but the session itself! For session timeout settings see Anyway to Setting Portal Timeout

    In addition, see (which overrides the servlet-container settings for this specific session).

    Hope it helps


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.