On Wednesday 25 May 2005 06:58, Bas Scheffers wrote:

> Namespaces are, namespace variables are not. Some packages use them for
> temporary storage of structures (like httpd and tdom) but they provide
> their own cleanup methods.
>

Ah, thanks for pointing out this distinction. Package specific cleanup is
pretty easy to accomplish, especially considering that AOLserver has
ns_atclose. You don't even have to consider the effect of an error killing
you cleanup, since it doesn't.

> I have at points relied on the fact that namespaces don't get cleared out
> between request (though in Vignette, not AOLserver) and found it rather
> usefull. Fixing this "bug" will quite likely break some people's code!


Yes, I use namespace variables to hold package startup info. Cleaning them out
would not be good. (Since the variables are set during server startup, they
are expected to exist in every thread.)

tom jackson


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to