webtier@glassfish.java.net

numberOfViewsInSession and numberOfLogicalViews question and recommendations

From: Mikael Andersson <mail.micke_at_gmail.com>
Date: Mon, 21 Jul 2008 10:45:26 +0100

Hi all

I'm curious about which values people are using for these context
parameters.

I'd also like to know of my understanding of them is corret.

numberOfLogicalViews:
This corresponds to actual view ids or actual URLs.

numberOfViewsInSession:
Interpretation 1)This is the number of pages with the same viewId (logical
view) which will be saved.
Interpretation 2) The maximum of views stored! Don't think this is true
since value for this less than LogicalViews wouldn't make sense.

So with the default values of 15 for each of these parameters the worst case
scenario, with interpretation 1, would be that 15*15 views could be held in
the session for each user. Is this correct?

Or is Interpretation 2 correct so there will never be more than 15 views
kept in the session for each user?

Many thanks,
 Micke