jump to navigation

What is the Max amount of information that can be saved in a Session Object? February 7, 2007

Posted by :) in J2EE.
trackback

As such there is no limit on the amount of information that can be saved in a Session Object. Only the RAM available on the server machine is the limitation. The only limit is the Session ID length(Identifier), which should not exceed more than 4K. If the data to be store is very huge, then it’s preferred to save it to a temporary file onto hard disk, rather than saving it in session. Internally if the amount of data being saved in Session exceeds the predefined limit, most of the servers write it to a temporary cache on Hard disk.

Comments»

1. Nitin Goyal - April 10, 2007

It’s a really very good information regarding a session object.

2. sdsd - May 20, 2008

fine