On Tuesday 01 July 2003 10:36, you wrote: > On Monday 30 June 2003 18:45, you wrote: > > Just to be clear - we are not explicitly using namespaces anywhere in our > > scripts. We are just "set"-ing local variables, e.g.: > > > > set foo bar > > > > I believe this is standard programming practice with AOLserver. Is it > > correct that AOLserver simply abandons memory allocated to such local > > variables after a script has executed? I have to confess that I'm *very* > > surprised that this is the case. > > If this is the case, then it means that the default connection-close script > which should drop those variables is somehow not working. I will > double-check this in the 4.0 version (this is the one youre using, right?) > > Zoran
I double-checked the 4.0 and it does correctly call ns_cleanupvars out of the ns_cleanup which gets executed on each connection close (actually, at the deallocating connection-thread Tcl interpreter). This correctly unsets all non-tcl-builtin variables. You can monitor this by putting calls to ns_log in the bin/init.tcl script in ns_cleanupvars Tcl procedure. Zoran -- 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.
