Re: session and request scope

2005-03-14 Thread Manfred Wolff
Radu. To avoid such problems you may use contextes. When you have contextes stored in the session and you store your values only in this context you have no problem to clean the session. There is a small architecture project called struts-it (struts-it.org) in detail http://plstrutsit.sourcefor

Re: session and request scope

2005-03-14 Thread Radu Badita
At 08:14 14.03.2005, Craig McClanahan wrote: For a developer, though, you should train yourself to good habits in the first place -- use request scope for *everything* unless it absolutely must be saved, on the server side, in between requests from the same user. This sounds like common-sense but i

Re: session and request scope

2005-03-13 Thread Craig McClanahan
On Thu, 10 Mar 2005 23:56:08 +0100, Günther Wieser <[EMAIL PROTECTED]> wrote: > as long as you don't have a clustered environment or session persistence > enabled in your servlet container, there shouldn't be much difference in > adding an object to a session or request. That is almost, but not q

RE: session and request scope

2005-03-10 Thread wo_shi_ni_ba_ba
es, but if > you have a lot of users in your web app and they > stay for a long time, the > memory consuption can become significant if you have > a lot of session > objects. > > kr, > guenther > > -Original Message- > From: wo_shi_ni_ba_ba > [mailto:[EMA

RE: session and request scope

2005-03-10 Thread Günther Wieser
o:[EMAIL PROTECTED] Sent: Thursday, March 10, 2005 10:52 PM To: user@struts.apache.org Subject: session and request scope In terms of performance, does storing an attribute into the session cost more than storing it into the request? how significant is the overhead? ___

Re: session and request scope

2005-03-10 Thread Erik Weber
No, it's all memory. But, you have to remember that session attributes stay in memory for the life of the session (which typically spans many requests and perhaps all day long), whereas request attributes stay in memory for the life of the request. In other words, requests don't really require

session and request scope

2005-03-10 Thread wo_shi_ni_ba_ba
In terms of performance, does storing an attribute into the session cost more than storing it into the request? how significant is the overhead? __ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/