what to store in session?

2002-06-26 Thread [EMAIL PROTECTED]
Consider following situation. User is logging into web application. What to store in session? 1. User object - it can be a large one (about 30 attributes, Strings, associated Objects). In this situation will be only one request to database (on user logon). Then all data will be taken from

RE: what to store in session?

2002-06-26 Thread Robert Taylor
. robert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 26, 2002 9:20 AM To: [EMAIL PROTECTED] Subject: what to store in session? Consider following situation. User is logging into web application. What to store in session? 1. User

RE: what to store in session?

2002-06-26 Thread Jon.Ridgway
a lazy loading scheme. robert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 26, 2002 9:20 AM To: [EMAIL PROTECTED] Subject: what to store in session? Consider following situation. User is logging into web application. What to store

Re[2]: what to store in session?

2002-06-26 Thread Rick Reumann
On Wednesday, June 26, 2002, 12:31:11 PM, Craig wrote: CRM * Do not store complete data structures that are large and complex, CRM unless they really represent shared application data (in which case CRM they should probably be in the servlet context attributes instead). CRM * Hide the

Re[2]: what to store in session?

2002-06-26 Thread Craig R. McClanahan
On Wed, 26 Jun 2002, Rick Reumann wrote: Date: Wed, 26 Jun 2002 14:19:52 -0400 From: Rick Reumann [EMAIL PROTECTED] To: Craig R. McClanahan [EMAIL PROTECTED] Cc: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re[2]: what to store in session? On Wednesday, June 26, 2002, 12:31:11

Re[3]: what to store in session?

2002-06-26 Thread Rick Reumann
Thanks so much Craig, this has been tremendously helpful! Some comments below... On Wednesday, June 26, 2002, 2:38:54 PM, Craig wrote: CRM My suggestion is to implement this logic inside a bean that hides whether CRM or not you are really caching the data or not -- say a StoresBean CRM

Re[3]: what to store in session?

2002-06-26 Thread Craig R. McClanahan
On Wed, 26 Jun 2002, Rick Reumann wrote: Date: Wed, 26 Jun 2002 15:16:11 -0400 From: Rick Reumann [EMAIL PROTECTED] To: Craig R. McClanahan [EMAIL PROTECTED] Cc: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re[3]: what to store in session? Thanks so much Craig, this has been

Re[4]: what to store in session?

2002-06-26 Thread Rick Reumann
Sorry Craig, I just realized I misread some of what you originally wrote. You were talking about sharing 'across' applications and I wasn't concerned with that so much. You can ignore my previous post. I apologize. Rick On Wednesday, June 26, 2002, 3:16:11 PM, Rick wrote: RR Thanks so much