Re: Strategy for Controlling the Session Size

2006-03-23 Thread Julian Tillmann
thanks for all your ideas and advice especially the one with the filter was very helpful. :) ciao 4 now Julian > --- Ursprüngliche Nachricht --- > Von: "Mark Lowe" <[EMAIL PROTECTED]> > An: "Struts Users Mailing List" > Betreff: Re: Strategy for Controlling

Re: Strategy for Controlling the Session Size

2006-03-22 Thread Mark Lowe
On 3/22/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > On 3/22/06, Mark Lowe <[EMAIL PROTECTED]> wrote: > > Population of indexed properties is a nice gift, but then I cant think > > of many situations where needing to scope anything that extreme is > > required. A bean with simple properties w

Re: Strategy for Controlling the Session Size

2006-03-22 Thread Michael Jouravlev
On 3/22/06, Mark Lowe <[EMAIL PROTECTED]> wrote: > Population of indexed properties is a nice gift, but then I cant think > of many situations where needing to scope anything that extreme is > required. A bean with simple properties will do > > > > > takes care of any simple properties I don't w

Re: Strategy for Controlling the Session Size

2006-03-22 Thread Mark Lowe
On 3/22/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > On 3/22/06, Mark Lowe <[EMAIL PROTECTED]> wrote: > > On 3/22/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > > On 3/22/06, Mark Lowe <[EMAIL PROTECTED]> wrote: > > > > For data you need to store across lots of requests, you can create

Re: Strategy for Controlling the Session Size

2006-03-22 Thread Michael Jouravlev
On 3/22/06, Mark Lowe <[EMAIL PROTECTED]> wrote: > On 3/22/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > On 3/22/06, Mark Lowe <[EMAIL PROTECTED]> wrote: > > > For data you need to store across lots of requests, you can create a > > > simple javaclass to hold the data you need. Something lik

Re: Strategy for Controlling the Session Size

2006-03-22 Thread Mark Lowe
On 3/22/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > On 3/22/06, Mark Lowe <[EMAIL PROTECTED]> wrote: > > For data you need to store across lots of requests, you can create a > > simple javaclass to hold the data you need. Something like a StateBean > > or even a hashmap, the point is that if

Re: Strategy for Controlling the Session Size

2006-03-22 Thread Michael Jouravlev
On 3/22/06, Mark Lowe <[EMAIL PROTECTED]> wrote: > For data you need to store across lots of requests, you can create a > simple javaclass to hold the data you need. Something like a StateBean > or even a hashmap, the point is that if you have one object that your > storing things in you know where

Re: Strategy for Controlling the Session Size

2006-03-22 Thread Rick Reumann
Julian Tillmann wrote the following on 3/22/2006 4:04 AM: Can someone give me advice how to control and clean the amount of Collections (HashTables/ArrayList) that are stored in the session. Are you actually sure you have a performance problem with too much stuff stored in Session scope? So

Re: Strategy for Controlling the Session Size

2006-03-22 Thread Mark Lowe
session.removeAttribute("collectionname"); chain.doFilter(..); } HTH Mark > > greetings > > > --- Ursprüngliche Nachricht --- > > Von: "Mark Lowe" <[EMAIL PROTECTED]> > > An: "Struts Users Mailing List" > &g

Re: Strategy for Controlling the Session Size

2006-03-22 Thread Julian Tillmann
interesting I'll take a look. As a last resort would my proposal be an acceptable alternative? greetings > --- Ursprüngliche Nachricht --- > Von: "Mark Lowe" <[EMAIL PROTECTED]> > An: "Struts Users Mailing List" > Betreff: Re: Strategy for Controlling th

Re: Strategy for Controlling the Session Size

2006-03-22 Thread Mark Lowe
On 3/22/06, Julian Tillmann <[EMAIL PROTECTED]> wrote: > Hi > > Can someone give me advice how to control and clean > > the amount of Collections (HashTables/ArrayList) > > that are stored in the session. If you do find you need collections stored in httpsession, i wouldn't use hashtable. > > My