> Is there any way (or technique, tools, etc.) to:
> 1. Calculate what is the session variable memory footprint 
> per user on a ColdFusion server?
> 2. Find the session variable memory footprint at runtime?

Not directly. However, with care and a controlled environment, you can
estimate this. First, you need to build a test suite that does everything an
individual user would do, except for the use of memory variables. Run this
test suite through the browser. Then, run a single user through the
application, then determine the difference in memory usage between the two
tests.

> 3. From the developer and system admin standpoint, access 
> these user session variables (not client variables) - for 
> example, to help debugging when an user reported a problem 
> that may be caused by some session variables? Or to do 
> gabbage collection?

As far as I can tell, you can't do this. However, you could write scripts to
which the user is redirected when an error occurs, and have those scripts
expose the values of problematic memory variables.

> Also, is my interpretation correct that, unless a logout 
> facility is provided to clean up the session variables, 
> session variables will remain in the server memory server 
> space, even after the user closed the browser, until the 
> session is timed out after the time as defined in 
> sessiontimeout under CFAPPLICATION?

Yes, that's correct.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with 
'unsubscribe' in the body or visit the list page at www.houseoffusion.com

Reply via email to