Skip to Content

Session Expire / Object Destroy

Hi All

I am wondering what is the best way to do this. Let's say I have JSP Dynpage with a HTMLB Form containing an search text field. Users does the search and results are displayed in a htmlb table on it using the hbj tags. I have stored the model for this table in the IComponentProfile. Lets say user Amy visits this component via the portal. See enters some search text and sees some results in the htmlb table. Then the user closes the browser and visits the same component after an hour. Fun part is users sees the same table again.

Is there way to get rid of this behaviour.

Thanks and Regards


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jan 27, 2004 at 11:27 AM

    As always this is to put this post in the top.


    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Pankaj Kumar

      ok. I got you right. what sort of object do you store in the profile? A TableViewModel?

      I had a the opposite problem with beans which was stored in the profile...


      Object o = getPortalProfile().getValue("goodsBookingInitBean");

      if (o == null || !(o instanceof GoodsBookingInitBean))


      goodsBookingInitBean = new GoodsBookingInitBean();

      getPortalProfile().putValue("goodsBookingInitBean", goodsBookingInitBean);




      goodsBookingInitBean = (GoodsBookingInitBean) o;


      so in your case just create a new Instance of your object everytime the iview is started and put it into the profile... regards, jens

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.