Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Servlets and the fly likes Session variable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Session variable" Watch "Session variable" New topic

Session variable

Mark Leong
Ranch Hand

Joined: Dec 11, 2000
Posts: 60
Can I know how much data can one session variable holds?
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
A HttpSession object just uses a Java collection such as Hashtable to hold references to objects keyed by names.
Therefore it can hold up to available memory.
I agree. Here's the link:
subject: Session variable
It's not a secret anymore!