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
.
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
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
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
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
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
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
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
8 matches
Mail list logo