*
The moose likes Servlets and the fly likes Session Size in Servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Session Size in Servlets" Watch "Session Size in Servlets" New topic
Author

Session Size in Servlets

sitaram irrinki
Ranch Hand

Joined: Feb 16, 2005
Posts: 158
The max storage of session object is 4KB,how can i store more data in session.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

The session object is nothing more than a map containing references to objects living on the heap.

Where did you hear about this max size?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Session Size in Servlets
 
Similar Threads
Alternative to Cookie?
Advice on persisting complex state across multiple server trips
ASP
Session problem in NetBeans
Field set in action method coming null in JSP