You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Michael Heinen <mh...@recommind.com> on 2007/07/26 09:53:12 UTC

NUMBER_OF_VIEWS_IN_SESSION usage ?

Could anybody explain the NUMBER_OF_VIEWS_IN_SESSION parameter ?

I know that it is only used for server side state saving and that it
defines the amount of the latest views that are stored in session.

 

The disadvantage of increasing this parameter is more memory
consumption.

But what is the advantage of it?

It is a cache but I didn't notice any performance alternation if I set
it to 1 or to 20.

 

In which use cases is this session store used ?

- for normal commandLinks/commandButtons ?

- for ajax commandLinks/commandButtons ?

- for normal outputLinks ?

- for browser back button ?

 

Are there any recommendations for setting this parameter ?

 

Thanks

Michael


Re: NUMBER_OF_VIEWS_IN_SESSION usage ?

Posted by Martin Marinschek <ma...@gmail.com>.
No, no impacts AFAIK.

regards,

Martin

On 7/26/07, Michael Heinen <mh...@recommind.com> wrote:
> Thanks Martin for clarification.
>
> I forgot to ask whether it has impact on the usage of frames or iframes.
> What about multiple browser windows in one session ?
> e.g. I use a main window (incl. an iframe) for normal work, navigation
> etc and second window to show some detail data.
>
> Has this parameter any impact on this setup ?
>
> I just want to play it safe when I set it to 1 ;-)
>
> Michael
>
>
> -----Original Message-----
> From: Martin Marinschek [mailto:martin.marinschek@gmail.com]
> Sent: Donnerstag, 26. Juli 2007 11:00
> To: MyFaces Discussion
> Subject: Re: NUMBER_OF_VIEWS_IN_SESSION usage ?
>
> Hi Michael,
>
> it defines how often you can press the back-button.
>
> regards,
>
> Martin
>
> On 7/26/07, Michael Heinen <mh...@recommind.com> wrote:
> >
> >
> >
> >
> > Could anybody explain the NUMBER_OF_VIEWS_IN_SESSION parameter ?
> >
> > I know that it is only used for server side state saving and that it
> defines
> > the amount of the latest views that are stored in session.
> >
> >
> >
> > The disadvantage of increasing this parameter is more memory
> consumption.
> >
> > But what is the advantage of it?
> >
> > It is a cache but I didn't notice any performance alternation if I set
> it to
> > 1 or to 20.
> >
> >
> >
> > In which use cases is this session store used ?
> >
> > - for normal commandLinks/commandButtons ?
> >
> > - for ajax commandLinks/commandButtons ?
> >
> > - for normal outputLinks ?
> >
> > - for browser back button ?
> >
> >
> >
> > Are there any recommendations for setting this parameter ?
> >
> >
> >
> > Thanks
> >
> > Michael
>
>
> --
>
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>
>


-- 

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

RE: NUMBER_OF_VIEWS_IN_SESSION usage ?

Posted by Michael Heinen <mh...@recommind.com>.
Thanks Martin for clarification.

I forgot to ask whether it has impact on the usage of frames or iframes.
What about multiple browser windows in one session ?
e.g. I use a main window (incl. an iframe) for normal work, navigation
etc and second window to show some detail data.

Has this parameter any impact on this setup ?

I just want to play it safe when I set it to 1 ;-)

Michael


-----Original Message-----
From: Martin Marinschek [mailto:martin.marinschek@gmail.com] 
Sent: Donnerstag, 26. Juli 2007 11:00
To: MyFaces Discussion
Subject: Re: NUMBER_OF_VIEWS_IN_SESSION usage ?

Hi Michael,

it defines how often you can press the back-button.

regards,

Martin

On 7/26/07, Michael Heinen <mh...@recommind.com> wrote:
>
>
>
>
> Could anybody explain the NUMBER_OF_VIEWS_IN_SESSION parameter ?
>
> I know that it is only used for server side state saving and that it
defines
> the amount of the latest views that are stored in session.
>
>
>
> The disadvantage of increasing this parameter is more memory
consumption.
>
> But what is the advantage of it?
>
> It is a cache but I didn't notice any performance alternation if I set
it to
> 1 or to 20.
>
>
>
> In which use cases is this session store used ?
>
> - for normal commandLinks/commandButtons ?
>
> - for ajax commandLinks/commandButtons ?
>
> - for normal outputLinks ?
>
> - for browser back button ?
>
>
>
> Are there any recommendations for setting this parameter ?
>
>
>
> Thanks
>
> Michael


-- 

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


Re: NUMBER_OF_VIEWS_IN_SESSION usage ?

Posted by Martin Marinschek <ma...@gmail.com>.
Hi Michael,

it defines how often you can press the back-button.

regards,

Martin

On 7/26/07, Michael Heinen <mh...@recommind.com> wrote:
>
>
>
>
> Could anybody explain the NUMBER_OF_VIEWS_IN_SESSION parameter ?
>
> I know that it is only used for server side state saving and that it defines
> the amount of the latest views that are stored in session.
>
>
>
> The disadvantage of increasing this parameter is more memory consumption.
>
> But what is the advantage of it?
>
> It is a cache but I didn't notice any performance alternation if I set it to
> 1 or to 20.
>
>
>
> In which use cases is this session store used ?
>
> - for normal commandLinks/commandButtons ?
>
> - for ajax commandLinks/commandButtons ?
>
> - for normal outputLinks ?
>
> - for browser back button ?
>
>
>
> Are there any recommendations for setting this parameter ?
>
>
>
> Thanks
>
> Michael


-- 

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces