Group -
Do we have any patterns or best practices available for handling sessions values in a web application. We maintain 100s of session values when we navigate between page to page.
-Jamil.
-
Patterns for Session Value Handling (3 messages)
- Posted by: Jamil Khan
- Posted on: January 11 2005 08:10 EST
Threaded Messages (3)
- Patterns for Session Value Handling by Kishore Senji on January 11 2005 23:47 EST
- Patterns for Session Value Handling by Matthew Wilson on January 13 2005 10:27 EST
- Patterns for Session Value Handling by Jamil Khan on January 18 2005 03:45 EST
-
Patterns for Session Value Handling[ Go to top ]
- Posted by: Kishore Senji
- Posted on: January 11 2005 23:47 EST
- in response to Jamil Khan
Group -Do we have any patterns or best practices available for handling sessions values in a web application. We maintain 100s of session values when we navigate between page to page.-Jamil.
Don't use large object graph to capture your 100's of values. (for websphere atleast; it boosts performance if you don't)
http://www-306.ibm.com/software/webservers/appserv/ws_bestpractices.pdf -
Patterns for Session Value Handling[ Go to top ]
- Posted by: Matthew Wilson
- Posted on: January 13 2005 10:27 EST
- in response to Jamil Khan
WOW, Try to limit the number of Objects in the session! are you using a MVC product? -
Patterns for Session Value Handling[ Go to top ]
- Posted by: Jamil Khan
- Posted on: January 18 2005 03:45 EST
- in response to Matthew Wilson
We don't use an MVC Product, but follow MVC Architecture. At any point we have 100 Session variables/Values maintained ( Eg: PREV_PAGE, PAGE_ID ). As of now the setting & getting of these Session variables are done in plain JSPs. I am wondering, if we have any better approach like moving this part to a plain POJOs by passing the HTTPSession object to it or any other ways.