>Which brings me to another question.  Is there a way to force the server to cache 
>user variables to disk (like it does when you do a clean restart of the service) so 
>that if I did that every minute or so, i'd end up only loosing the users that haven't 
>been on for that long?  Of course I'd only do it if it wasn't too cpu intensive.

You could roll your own variable dump scheme, but it sounds problematic.  Dumping a 
consistent snapshot would be difficult because variables may change while you're 
writing them.  On restore, how would you re-assign user-scoped variables with 
appropriate user references?  (I'd be interested in a solution to this.)

I think the practicality would depend on your app.  For instance, would inconsistent 
user session states be preferable to losing user sessions completely?  I would imagine 
the load to perform the dump and restore will vary with the number/size of variables 
used.

- Jeff

-- 

Jeff Bohmer
VisionLink, Inc.
_________________________________
303.402.0170
www.visionlink.org
_________________________________
People. Tools. Change. Community.
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to