Re: non-serializable objects in sessions

2001-11-13 Thread Tom Drake
Glad to help - Original Message - From: "Marko Asplund" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, November 13, 2001 3:40 AM Subject: Re: non-serializable objects in sessions | | thanks for pointing out the datab

Re: non-serializable objects in sessions

2001-11-13 Thread David Cassidy
Make sure that when the user leaves that area of the site you remove the result objects from the users session. Otherwise your memory consumption could go up rather quickly !!! Marko Asplund wrote: > thanks for pointing out the database resource consumption problem! > > i'll probably define an

Re: non-serializable objects in sessions

2001-11-13 Thread Marko Asplund
thanks for pointing out the database resource consumption problem! i'll probably define an upper limit for result rows shown to the user in my application. then i'll use one query to get all the object ids of the result objects, store them (instead of the ResultSet) in the user's session. then t

AW: non-serializable objects in sessions

2001-11-13 Thread Ralph Einfeldt
cht- > Von: Marko Asplund [mailto:[EMAIL PROTECTED]] > Gesendet: Montag, 12. November 2001 19:49 > An: Tomcat Users List > Betreff: Re: non-serializable objects in sessions what i'd like to do is store Statement and ResultSet objects in a user > session so, that the data fe

Re: non-serializable objects in sessions

2001-11-12 Thread Tom Drake
| > de Craig R. | > McClanahan | > Enviado el: lunes 12 de noviembre de 2001 21:56 | > Para: Tomcat Users List | > Asunto: Re: non-serializable objects in sessions | > | > | > | > | > On Mon, 12 Nov 2001, Marko Asplund wrote: | > | > > Date: Mon, 12

Re: non-serializable objects in sessions

2001-11-12 Thread Pier Fumagalli
On 12/11/2001 09:28 pm, "Ignacio J. Ortega" <[EMAIL PROTECTED]> wrote: > I'm the only one that is receiving 2 copies of almost every message? I got just one copy... Pier -- To unsubscribe: For additional commands: Troubles with the l

RE: non-serializable objects in sessions

2001-11-12 Thread Ignacio J. Ortega
Para: Tomcat Users List > Asunto: Re: non-serializable objects in sessions > > > > > On Mon, 12 Nov 2001, Marko Asplund wrote: > > > Date: Mon, 12 Nov 2001 20:49:19 +0200 (EET) > > From: Marko Asplund <[EMAIL PROTECTED]> > > Reply-To: Tomcat Users

Re: non-serializable objects in sessions

2001-11-12 Thread Craig R. McClanahan
On Mon, 12 Nov 2001, Marko Asplund wrote: > Date: Mon, 12 Nov 2001 20:49:19 +0200 (EET) > From: Marko Asplund <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: non-serializable objec

Re: non-serializable objects in sessions

2001-11-12 Thread Tom Drake
displayed on the 1st page was 'abc123', the query for the second page might be 'select * from product where productid > 'abc123' order by productid'). Good Luck Tom Drake - Original Message - From: "Marko Asplund" <[EMAIL PROTECTED]>

Re: non-serializable objects in sessions

2001-11-12 Thread Marko Asplund
On Sun, 11 Nov 2001, Craig R. McClanahan wrote: > ... > There is no way in Java to persist a non-Serializable object like a > database statement. In fact, you cannot even use such a thing if you're > using a connection pool (completely separate from session persistance > issues) unless the conne

Re: non-serializable objects in sessions

2001-11-11 Thread Craig R. McClanahan
On Sun, 11 Nov 2001, Marko Asplund wrote: > Date: Sun, 11 Nov 2001 21:37:07 +0200 (EET) > From: Marko Asplund <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: non-serializable objects in sessions > > >