• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How much weight can session handle?

 
Anil Vupputuri
Ranch Hand
Posts: 527
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai,

Can any one tell me,is there any limitations to put a value in session object using session.putValue("name",
"value(Object)").Iam carrying hashtable of hashtables in single session,is it loading of session?
Anil.
 
Mirko Froehlich
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have to keep in mind that you are not actually storing a copy of the object (in your case a hashtable of hashtables) in the session, but only a reference to this object, so no matter how large the object itself is, it won't take up much space in the session. The object only exists once in your JVM, and your amount of memory is only limited by your JVM's heap size.
-Mirko
 
Anil Vupputuri
Ranch Hand
Posts: 527
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thankx Mirko.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic