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

Separate iView runtime instance object for every user / iview Server cachin


I implemented an iView but the stored data in the iView variables get overwritten with the values from another logged in portal user at another computer(!) when he also uses the iView!!!

EP 6.0 SP2

I tried to change in the portalapp.xml of the iView the values for CachingLevel & ValidityPeriod but no setting changed the behaviour (None, Shared, Session, User) 0, -1, etc.

<property name="CachingLevel" value="None"/>

<property name="ValidityPeriod" value="0"/>

I also changed these values Cache Level, Cache Validity in the iView properties via the Portal Content Administration with no success.

  1. I implemented the iView with the following lines

public class myiView extends AbstractPortalComponent implements ICachablePortalComponent {

  1. I save the internal data via +/- these lines

private MyDataObject myData = new MyDataObject();

myData.Firstname="aaaa"; // example line

How is it possible to create/config an iView to have a separate iView object instance for myiView at runtime for every user? (Is one instance of the iView created per user / per session, per browser?)

Do I need to use another component than e.g. ICachablePortalComponent, etc?



PS I know the pdf document "Enhance Page Performance over the Network for SAP Enterprise Portal 6.0 SP2.pdf" but trying different settings did not help.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jul 23, 2004 at 10:48 AM

    Hi J├╝rgen,

    I think this is more a general problem, how class loading works in a servelt or in the portal dispatcher.

    It is not basically a caching problem.

    Maybe best is to read at sun the section about JSP/ beans and scopes and download and install PDK.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member


      Okay, to easier my question:

      How are iViews in general handled by the Portal when using ICachablePortalComponent?


      public class myiView extends AbstractPortalComponent implements ICachablePortalComponent {

      How is by default the instance creation of "myiView" shared/restricted on the portal-server to the users?

      - by all users

      - users session

      - users webbrowser instance

      - other

      How can this be changed?



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.