the reason for the data size limit is, that the SDBM hash size limit is 1024 bytes for the key + the value.
You can store more data if you use DB_File or MLDBM::Sync::SDBM_File for storing the data.
But see "man Apache::ASP", Section "State Management" (StateDB).
Regards
Helmut
I seem to remember reading in this group, that you shouldn't stuff too much data in $Session. Why is this the case? Is is simply performance, and if so how much data can I store in here reasonably.
The reason that I ask is this:
I tend to develop using OO, and was wondering if there are any ramifications of generating a reasonably complex object (hash structure with references to array references and other hash structures, probably about 30K of data) and simply storing the pointer to this in the $Session object.
Now when the script actually finishes, does the $Session object in it's entirity get dumped to the state directory (I'm assuming that this is the case) or does my complex object get kept in memory until the $Session object expires; when the $Session object is destroyed, there will be no more references to my object and hence it should be garbage collected.
Any shedding of light on this would be appreciated.
Regards,
Chris.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]