This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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
Author

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
Rancher

Joined: Mar 22, 2000
Posts: 12791
    
    5
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.
Bill
 
GeeCON Prague 2014
 
subject: Session variable